aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYuan Fu2022-11-02 16:31:25 -0700
committerYuan Fu2022-11-02 16:47:53 -0700
commitf331be1f074d68e7e5cdbac324419e07c186492a (patch)
treeeb2d16d70a9aa23ab3e5b2a083db4b59fefa780e /src
parent040991a4697b50ebcb54e498e7de54b8d0885101 (diff)
downloademacs-f331be1f074d68e7e5cdbac324419e07c186492a.tar.gz
emacs-f331be1f074d68e7e5cdbac324419e07c186492a.zip
Add handling of contextual entities in tree-sitter font-lock
* lisp/progmodes/python.el: Remove function. (python--treesit-settings): Capture contextual node. * lisp/treesit.el (treesit--set-nonsticky): (treesit-font-lock-contextual-post-process): New functions. (treesit-font-lock-fontify-region): Change local variable START and END to NODE-START and NODE-END, handle special capture name "contextual". * doc/lispref/modes.texi (Parser-based Font Lock): Update manual.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions