summaryrefslogtreecommitdiff
path: root/lisp/treesit.el
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2022-11-19 00:25:57 -0800
committerYuan Fu <casouri@gmail.com>2022-11-19 00:25:57 -0800
commitc6384e9bfbc765229ea9676ba1044b9db28fec2d (patch)
tree1d2aba794d06f2b4cda7c5b2b22393a5947d9867 /lisp/treesit.el
parent2f03053e568f38a1dce5ffe02ad1359069ef84c8 (diff)
downloademacs-c6384e9bfbc765229ea9676ba1044b9db28fec2d.tar.gz
emacs-c6384e9bfbc765229ea9676ba1044b9db28fec2d.tar.bz2
emacs-c6384e9bfbc765229ea9676ba1044b9db28fec2d.zip
Fix python-mode tree-sitter fontification
Forgot to update python-mode's code when I added the tree-sitter notifier facility. Now it doesn't need any special treatment anymore. Leaving it as is causes some incorrect fontification. * lisp/progmodes/python.el (python--treesit-fontify-string): Accept the string node rather than the quote node. (python--treesit-settings): Capture string node.
Diffstat (limited to 'lisp/treesit.el')
0 files changed, 0 insertions, 0 deletions