diff options
| author | Yuan Fu | 2022-11-02 17:03:03 -0700 |
|---|---|---|
| committer | Yuan Fu | 2022-11-02 17:03:03 -0700 |
| commit | 69ab588bb54178df0d3be6b4c04dabb49f5a2ac9 (patch) | |
| tree | a308a378f3efb1f742fec67cd807bc394689bd0b /src | |
| parent | f331be1f074d68e7e5cdbac324419e07c186492a (diff) | |
| download | emacs-69ab588bb54178df0d3be6b4c04dabb49f5a2ac9.tar.gz emacs-69ab588bb54178df0d3be6b4c04dabb49f5a2ac9.zip | |
Pass region start and end to tree-sitter fontification functions
* doc/lispref/modes.texi (Parser-based Font Lock): Update manual.
* lisp/progmodes/js.el (js--fontify-template-string)
* lisp/progmodes/python.el (python--treesit-fontify-string): Update
function to only fontify within the region.
* lisp/treesit.el (treesit-font-lock-rules): Update docstring.
(treesit-font-lock-fontify-region): Pass START and END to
fontification functions.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions