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

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

bug#60894: 30.0.50; [PATCH] Add treesit-forward-sexp


From: Juri Linkov
Subject: bug#60894: 30.0.50; [PATCH] Add treesit-forward-sexp
Date: Wed, 18 Jan 2023 19:16:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>> That seems to be working rather well, thanks. I just needed to extend
>> the list of nodes:
>>
>>    (setq-local treesit-sexp-type-regexp
>>                (regexp-opt '("class"
>>                              "module"
>>                              "method"
>>                              "argument_list"
>>                              "array"
>>                              "hash"
>>                              "parenthesized_statements"
>>                              "if"
>>                              "case"
>>                              "block"
>>                              "do_block"
>>                              "begin")))
>
> Added some words to the manual and your node types to ruby-ts-mode

Thanks, I tried it out, and it works even better than in ruby-mode.





reply via email to

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