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: Theodor Thornhill
Subject: bug#60894: 30.0.50; [PATCH] Add treesit-forward-sexp
Date: Wed, 18 Jan 2023 19:27:59 +0100


On 18 January 2023 18:16:06 CET, Juri Linkov <juri@linkov.net> wrote:
>>> 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.

I'm glad!

Theo





reply via email to

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