diff options
author | Yuan Fu <casouri@gmail.com> | 2022-11-20 16:37:19 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-11-20 17:04:58 -0800 |
commit | 625ea08652053617034bf8ceee0d6cfae34f2dcc (patch) | |
tree | 6436a240112a08a5d2bd0141baa0989d509d0ec1 /lisp/progmodes/java-ts-mode.el | |
parent | 657947dc7cf01a13a4fa260691a6fa0147107950 (diff) | |
download | emacs-625ea08652053617034bf8ceee0d6cfae34f2dcc.tar.gz emacs-625ea08652053617034bf8ceee0d6cfae34f2dcc.tar.bz2 emacs-625ea08652053617034bf8ceee0d6cfae34f2dcc.zip |
Improve tree-sitter fontification on large buffers
* lisp/treesit.el (treesit--children-covering-range)
(treesit--children-covering-range-recurse): New functions. They are
not currently used but could be useful in the future, so I left them
in place.
(treesit-font-lock-fontify-region):
* lisp/treesit.el (treesit-font-lock-fontify-region): Use the result
of treesit-node-on instead of the root node.
Diffstat (limited to 'lisp/progmodes/java-ts-mode.el')
0 files changed, 0 insertions, 0 deletions