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

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

bug#74366: 31.0.50; tree-sitter


From: Juri Linkov
Subject: bug#74366: 31.0.50; tree-sitter
Date: Sun, 22 Dec 2024 21:15:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)

>>> open ts file, and enable typescript-ts-mode.
>>> just like
>>> ```
>>> function hello() {
>>>    console.log('hello'),
>>>     return 'hello';
>>> }
>>> ```
>>> Jump to point before {, and try C-M-f (forward-sexp or 
>>> treesitter-forward-sexp), it just jump to
>>> end of ), not }. It was expected to end of }.
>>
>> Here it jumps to after "'hello';".
>
> This should work with the fix from bug#73404.

Now 'sexp-list' was added to 'treesit-thing-settings' of
'typescript-ts-mode', so the case above works correctly.





reply via email to

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