]> git.eshelyaron.com Git - emacs.git/commit
Make tree-sitter font-lock support decoration levels
authorYuan Fu <casouri@gmail.com>
Sun, 9 Oct 2022 22:17:11 +0000 (15:17 -0700)
committerYuan Fu <casouri@gmail.com>
Mon, 10 Oct 2022 00:20:28 +0000 (17:20 -0700)
commitc88a1631e3f76926bf0fed49fa1b704d6eaf2155
tree97a012153edb415acb34271d65b4c6b8dabc8ac4
parent9f7c359f4023570616c9961487069ba1122a5bb0
Make tree-sitter font-lock support decoration levels

* admin/notes/tree-sitter/html-manual/Parser_002dbased-Font-Lock.html:
Update.
* admin/notes/tree-sitter/html-manual/Parsing-Program-Source.html:
Update.
* doc/lispref/modes.texi: Mention the new :level option.
* lisp/treesit.el (treesit-font-lock-settings): Update docstring.
(treesit-font-lock-rules): Support :level.  Relayout the let form.
(treesit-font-lock-fontify-region): Support :level.
admin/notes/tree-sitter/html-manual/Parser_002dbased-Font-Lock.html
admin/notes/tree-sitter/html-manual/Parsing-Program-Source.html
doc/lispref/modes.texi
lisp/treesit.el