1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00
emacs/doc
Yuan Fu 10b4d3045e
Make tree-sitter-explorer support selecting local parser
Now treesit-explore-mode will prompt the user to select a parser
to explore, rather than a language.  It'll also include the
local parsers at point for selection.

* lisp/treesit.el (treesit--explorer-language): Change to
treesit--explorer-parser.
(treesit--explorer--nodes-to-highlight):
(treesit--explorer-refresh): Change to use parser.
(treesit--explorer-generate-parser-alist): New function.
(treesit-explorer-switch-parser): New command.
(treesit-explore-mode): Use switch-parser to setup.
* doc/lispref/parsing.texi (Language Grammar): Mention
treesit-explorer-switch-parser.
2024-12-04 22:39:28 -08:00
..
emacs Merge from origin/emacs-30 2024-11-23 04:46:10 -05:00
lispintro Update FSF's address 2024-09-02 21:02:09 +02:00
lispref Make tree-sitter-explorer support selecting local parser 2024-12-04 22:39:28 -08:00
man New command-line options for 'etags' 2024-10-08 15:39:33 +03:00
misc CC Mode manual: Better document lines starting with a label 2024-12-01 19:46:16 +00:00
translations ; Fix typos 2024-06-07 23:51:18 +02:00