]> git.eshelyaron.com Git - emacs.git/commit
Add treesit-install-language-grammar
authorYuan Fu <casouri@gmail.com>
Fri, 30 Dec 2022 10:56:26 +0000 (02:56 -0800)
committerYuan Fu <casouri@gmail.com>
Fri, 30 Dec 2022 10:56:26 +0000 (02:56 -0800)
commit0248fc9e1ac6aa0b802a334ace77c9cf0709e2c3
tree7231121188f9d654c2fe3564b4ae9b408d5bd830
parent0237c5927e9a741083e4d177bd9a8e9c876cc662
Add treesit-install-language-grammar

Per discussion on emacs-devel, I added function to install and compile
language grammars.

* lisp/treesit.el (treesit-language-source-alist): New variable.
(treesit-install-language-grammar)
(treesit--call-process-signal)
(treesit--install-language-grammar-1): New functions.
lisp/treesit.el