diff options
author | Yuan Fu <casouri@gmail.com> | 2022-11-19 00:25:57 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-11-19 00:25:57 -0800 |
commit | c6384e9bfbc765229ea9676ba1044b9db28fec2d (patch) | |
tree | 1d2aba794d06f2b4cda7c5b2b22393a5947d9867 /lisp/treesit.el | |
parent | 2f03053e568f38a1dce5ffe02ad1359069ef84c8 (diff) | |
download | emacs-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