mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-07 04:39:37 +00:00
; * etc/NEWS: Mention treesit-install-language-grammar.
This commit is contained in:
parent
de3df3bc51
commit
ae0d218d0b
1 changed files with 7 additions and 0 deletions
7
etc/NEWS
7
etc/NEWS
|
@ -63,6 +63,13 @@ the other shared libraries used by Emacs, or in the "tree-sitter"
|
|||
subdirectory of your 'user-emacs-directory', or in a directory
|
||||
mentioned in the variable 'treesit-extra-load-path'.
|
||||
|
||||
Emacs provides a user command, 'treesit-install-language-grammar',
|
||||
that automates the building process. A third-party major mode package
|
||||
could instruct its users to set 'treesit-language-source-alist'
|
||||
accordingly and use that command to download and compile the language
|
||||
grammar. A user could also use that command directly and manually
|
||||
guide it through the process.
|
||||
|
||||
You only need to install language grammar libraries required by the
|
||||
Emacs modes you will use, as Emacs loads these libraries only when the
|
||||
corresponding mode is turned on in some buffer for the first time in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue