]> git.eshelyaron.com Git - emacs.git/commit
python--treesit-syntax-propertize: Fix edits in the middle
authorDmitry Gutov <dmitry@gutov.dev>
Fri, 26 Jan 2024 01:00:04 +0000 (03:00 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 26 Jan 2024 11:22:51 +0000 (12:22 +0100)
commit11f978d116a659bd9c2db8300d52340157d145c8
treeef4330065d5ad9d24f8d7c5cdf6795c14ca519c4
parent4e1aae169204e609ddca5e54bb4f1acc1f22194c
python--treesit-syntax-propertize: Fix edits in the middle

* lisp/progmodes/python.el (python--treesit-syntax-propertize):
Process the beginning and the end of the triple-quoted string's
delimiters separately.  Among other things, that still works when
the beginning is outside of the propertized region (bug#68445).

(cherry picked from commit 737d46e04d73dbad84bf0225cebb1c936ff89365)
lisp/progmodes/python.el