]> git.eshelyaron.com Git - emacs.git/commit
Add :override flag for tree-sitter font-lock
authorYuan Fu <casouri@gmail.com>
Tue, 4 Oct 2022 20:28:46 +0000 (13:28 -0700)
committerYuan Fu <casouri@gmail.com>
Tue, 4 Oct 2022 20:30:56 +0000 (13:30 -0700)
commit23bb724c922de95573f73b22ae311696ae08464e
treec1c219dd9515d10f6ac42d7e4771345bfc8a22c0
parent7a4380b9051ddd0bcc4d5c90abe0f826a9b922dc
Add :override flag for tree-sitter font-lock

* doc/lispref/modes.texi (Parser-based Font Lock): Update manual.
* lisp/treesit.el (treesit-font-lock-settings): Update docstring.
(treesit-font-lock-rules): Handle :override.
(treesit-font-lock-fontify-region): Handle :override.  Also set
inhibit-point-motion-hooks to t.
doc/lispref/modes.texi
lisp/treesit.el