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

From: Eli Zaretskii <[email-masked]>
Date: Sat, 25 Nov 2023 12:01:56 +0200

> Date: Sun, 19 Nov 2023 00:52:06 +0200
> Cc: [email-masked]
> From: Dmitry Gutov <[email-masked]>
> 
> 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.

JD, would you like to try writing such a syntax-propertize-function?