diff options
| author | Yuan Fu | 2023-09-05 19:57:34 -0700 |
|---|---|---|
| committer | Yuan Fu | 2023-09-05 21:03:38 -0700 |
| commit | d05494a9ff89eb0a669274428994fbc58a6e4541 (patch) | |
| tree | 95ba76ec50b494b7a50cc90897a73b6fbb25c5bb /java | |
| parent | cf0986401cee914207e2d81febf62189f74ab40d (diff) | |
| download | emacs-d05494a9ff89eb0a669274428994fbc58a6e4541.tar.gz emacs-d05494a9ff89eb0a669274428994fbc58a6e4541.zip | |
Support tree-sitter local parsers
* doc/lispref/parsing.texi (Multiple Languages): Update manual.
* lisp/treesit.el (treesit-range-settings): Add LOCAL-P to range
setting.
(treesit-range-rules): Support :local keyword.
(treesit-local-parsers-at)
(treesit-local-parsers-in)
(treesit--update-ranges-local): New functions.
(treesit-update-ranges)
(treesit-font-lock-fontify-region)
(treesit--indent-1): Support local parsers and prioritize it over
global parsers.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions