; * etc/NEWS: Instructions for builds without tree-sitter (bug#60559)
This commit is contained in:
parent
8d530ca654
commit
cef875f6c5
1 changed files with 9 additions and 0 deletions
9
etc/NEWS
9
etc/NEWS
|
@ -3157,6 +3157,15 @@ files, the new modes based on tree-sitter are for now entirely
|
|||
optional, and you must turn them on manually, or customize
|
||||
'auto-mode-alist' to turn them on automatically.
|
||||
|
||||
Where no major modes previously existed in Emacs for editing the kinds
|
||||
of files for which Emacs now provides a tree-sitter based mode, Emacs
|
||||
will now try to enable the tree-sitter mode automatically when you
|
||||
visit such files, and will display a warning if the tree-sitter
|
||||
library or the parser grammar library is not available. To prevent
|
||||
the warnings, either build Emacs with tree-sitter and install the
|
||||
grammar libraries, or customize 'auto-mode-alist' to specify some
|
||||
other major mode (or even Fundamental mode) for those kinds of files.
|
||||
|
||||
Each major mode based on tree-sitter needs a language grammar library,
|
||||
usually named "libtree-sitter-LANG.so" ("libtree-sitter-LANG.dll" on
|
||||
MS-Windows), where LANG is the corresponding language name. Emacs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue