summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/lisp-tests.el
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2022-11-05 18:58:39 -0700
committerYuan Fu <casouri@gmail.com>2022-11-05 19:00:17 -0700
commit9fbbb2355298f75e8fd09b35306e843ce45b9e25 (patch)
tree43f74c6e6ed404031ffb465bb60108481ddf6ba2 /test/lisp/emacs-lisp/lisp-tests.el
parent076a25810127cb8c56ff0f5272a3d8b98192ee77 (diff)
downloademacs-9fbbb2355298f75e8fd09b35306e843ce45b9e25.tar.gz
emacs-9fbbb2355298f75e8fd09b35306e843ce45b9e25.tar.bz2
emacs-9fbbb2355298f75e8fd09b35306e843ce45b9e25.zip
Fix incorrect tree-sitter fontification
* lisp/treesit.el (treesit-font-lock-fontify-region): If the captured node is outside of the region between START and END, don't fontify it. Wrap fontification code in a when form.
Diffstat (limited to 'test/lisp/emacs-lisp/lisp-tests.el')
0 files changed, 0 insertions, 0 deletions