diff options
| author | Yuan Fu | 2022-11-01 13:26:16 -0700 |
|---|---|---|
| committer | Yuan Fu | 2022-11-01 13:26:16 -0700 |
| commit | 50e33639fe190f0a1c47b8e4c0fcc4735cb60909 (patch) | |
| tree | 5c4e00c02b1c974812a6173a5fdee88376731397 /admin/notes/tree-sitter/html-manual/Using-Parser.html | |
| parent | ccd2509ed31f953408240357e9b84c3d3b3f6a2b (diff) | |
| download | emacs-50e33639fe190f0a1c47b8e4c0fcc4735cb60909.tar.gz emacs-50e33639fe190f0a1c47b8e4c0fcc4735cb60909.zip | |
Fix string fontification for tree-sitter python-mode
Now when user inserts a ending quote, the whole string is ganranteed
to be refontified and redisplayed.
* lisp/progmodes/python.el (python--treesit-fontify-string): Change
docstring, now it's called on the leading quote.
(python--treesit-fontify-string-end): New function.
(python--treesit-settings): Capture both leading and ending quote in a
string.
Diffstat (limited to 'admin/notes/tree-sitter/html-manual/Using-Parser.html')
0 files changed, 0 insertions, 0 deletions