diff options
| author | Yuan Fu | 2022-10-31 15:03:49 -0700 |
|---|---|---|
| committer | Yuan Fu | 2022-10-31 15:03:49 -0700 |
| commit | eeeae5e9ee34da5539046ff8dac4f4fffa19a5b9 (patch) | |
| tree | b815a383714dc3ee9d33c61fc39e91429709f344 /admin/notes/tree-sitter/html-manual/Using-Parser.html | |
| parent | 9fab83ed7a90209e3873039e7ae4993c667e2759 (diff) | |
| download | emacs-eeeae5e9ee34da5539046ff8dac4f4fffa19a5b9.tar.gz emacs-eeeae5e9ee34da5539046ff8dac4f4fffa19a5b9.zip | |
Add an argument OVERRIDE to tree-sitter font-lock functions
* doc/lispref/modes.texi (Parser-based Font Lock): Reflect this change
in manual.
* lisp/progmodes/js.el (js--fontify-template-string): Add _OVERRIDE
argument.
* lisp/progmodes/python.el (python--treesit-fontify-string): Add
_OVERRIDE argument.
* lisp/treesit.el (treesit-font-lock-rules): Update docstring.
(treesit-fontify-with-override): New function.
(treesit-font-lock-fontify-region): Extract out into
treesit-fontify-with-override.
Diffstat (limited to 'admin/notes/tree-sitter/html-manual/Using-Parser.html')
0 files changed, 0 insertions, 0 deletions