]> git.eshelyaron.com Git - emacs.git/commit
Add a :toggle option for tree-sitter font-lock
authorYuan Fu <casouri@gmail.com>
Fri, 7 Oct 2022 08:21:09 +0000 (01:21 -0700)
committerYuan Fu <casouri@gmail.com>
Fri, 7 Oct 2022 08:21:09 +0000 (01:21 -0700)
commit8bc6e31502244ca16bbf7b163a7a321ec9094882
treed93e986c98496c015ee04acaff32361c60d39cc2
parentb755f45f65090665dd40ed0f0dc4eb6f9e4923a0
Add a :toggle option for tree-sitter font-lock

* admin/notes/tree-sitter/html-manual/Parser_002dbased-Font-Lock.html:
Update html manual.
* admin/notes/tree-sitter/html-manual/build-manual.sh: Fix manual
path.
* admin/notes/tree-sitter/starter-guide: Mention :toggle.
* doc/lispref/modes.texi: Mention :toggle.
* lisp/treesit.el (treesit-font-lock-settings): Update docstring.
(treesit-font-lock-rules): Handle :toggle.  Also change
some wrong-type-argument signal to treesit-font-lock-error which is
easier to understand.
(treesit-font-lock-fontify-region): Handle :toggle.
admin/notes/tree-sitter/html-manual/Parser_002dbased-Font-Lock.html
admin/notes/tree-sitter/html-manual/build-manual.sh
admin/notes/tree-sitter/starter-guide
doc/lispref/modes.texi
lisp/treesit.el