summaryrefslogtreecommitdiff
path: root/java/org/gnu/emacs/EmacsNative.java
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2023-01-29 00:07:46 -0800
committerYuan Fu <casouri@gmail.com>2023-01-29 00:12:57 -0800
commit1970726e26a979243925fabe32686ba2ee757c6b (patch)
tree5187c732099e11bc4f0c8217c8d47eae77bf7877 /java/org/gnu/emacs/EmacsNative.java
parent382e018856a884a96a94ad551dbc1d7b0317b2e5 (diff)
Use treesit-subtree-stat to determine treesit--font-lock-fast-mode
* lisp/treesit.el: (treesit--children-covering-range-recurse): Return nil if LIMIT is exceeded. (treesit--font-lock-fast-mode): Change to a ternary value. (treesit-font-lock-fontify-region): Enable fast mode based on the result of treesit-subtree-stat.
Diffstat (limited to 'java/org/gnu/emacs/EmacsNative.java')
0 files changed, 0 insertions, 0 deletions