]> git.eshelyaron.com Git - emacs.git/commit
Ignore some capture name in treesit-font-lock-fontify-region
authorYuan Fu <casouri@gmail.com>
Sun, 2 Oct 2022 03:25:25 +0000 (20:25 -0700)
committerYuan Fu <casouri@gmail.com>
Tue, 4 Oct 2022 20:30:55 +0000 (13:30 -0700)
commit9b5ecffeb00f22ca6663aa14e7807c9886ed1716
treed50f2fa713eb365cdbf156c89b59907c52d89c16
parent6a3caeab580f61f88c4ad49ff32cdf74eea4fb97
Ignore some capture name in treesit-font-lock-fontify-region

* doc/lispref/modes.texi (Parser-based Font Lock): Update manual.
* lisp/treesit.el: (treesit-font-lock-fontify-region): Ignore names
that are not face nor function.
(treesit-font-lock-rules): Update docstring.
doc/lispref/modes.texi
lisp/treesit.el