diff options
| author | Yuan Fu | 2023-09-13 19:16:04 -0700 |
|---|---|---|
| committer | Yuan Fu | 2023-09-13 21:00:29 -0700 |
| commit | 63766b49e2a4a8c1b46446d0e97bfac640159610 (patch) | |
| tree | 515f8410f32c49b41c22f270fa99058d9c99ff1a /java/debug.sh | |
| parent | 921c0a16ce20828043b3a9df3e0fb6c3a4ecbd74 (diff) | |
| download | emacs-63766b49e2a4a8c1b46446d0e97bfac640159610.tar.gz emacs-63766b49e2a4a8c1b46446d0e97bfac640159610.zip | |
Fix treesit-font-lock-fontify-region wrt local parsers
* lisp/treesit.el (treesit--update-ranges-local): Minor change.
(treesit-font-lock-fontify-region): Don't try to fontify if node is
nil. Don't use alist-get to get the root node for a language: there
might be multiple root nodes (from multiple local parsers) for the
same language.
(treesit-major-mode-setup): Remove existing local parsers when major
mode is activated.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions