aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYuan Fu2022-11-02 17:03:03 -0700
committerYuan Fu2022-11-02 17:03:03 -0700
commit69ab588bb54178df0d3be6b4c04dabb49f5a2ac9 (patch)
treea308a378f3efb1f742fec67cd807bc394689bd0b /src
parentf331be1f074d68e7e5cdbac324419e07c186492a (diff)
downloademacs-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