aboutsummaryrefslogtreecommitdiffstats
path: root/exec
diff options
context:
space:
mode:
authorYuan Fu2024-12-02 17:23:08 -0800
committerYuan Fu2024-12-04 22:39:28 -0800
commit10b4d3045e1b856009c5ac1e1a1ca257f2d4493f (patch)
tree853550194f583449a965fa561fbd082f2822fb21 /exec
parent25b4bf7fcd75564f23b2e60e29e8ff7354186371 (diff)
downloademacs-10b4d3045e1b856009c5ac1e1a1ca257f2d4493f.tar.gz
emacs-10b4d3045e1b856009c5ac1e1a1ca257f2d4493f.zip
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.
Diffstat (limited to 'exec')
0 files changed, 0 insertions, 0 deletions