bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67262: python-ts-mode cannot identify triple-quoted-strings


From: Dmitry Gutov
Subject: bug#67262: python-ts-mode cannot identify triple-quoted-strings
Date: Sun, 19 Nov 2023 00:52:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 18/11/2023 19:18, JD Smith wrote:
  (setq-local syntax-propertize-function python-syntax-propertize-function)

This is not a bad choice, but even better would be to write a s-p-f based on the tree-sitter parse tree.

There are examples in ruby-ts-mode and js-ts-mode.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]