[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71244: Limit matches of treesit-thing-settings in js-ts-mode
From: |
Yuan Fu |
Subject: |
bug#71244: Limit matches of treesit-thing-settings in js-ts-mode |
Date: |
Wed, 5 Jun 2024 22:20:41 -0700 |
> On May 30, 2024, at 11:34 PM, Juri Linkov <juri@linkov.net> wrote:
>
> close 71244 30.0.50
> thanks
>
>> Navigation in js-ts-mode is still quite unusable
>> when "expression" in 'js--treesit-sexp-nodes'
>> matches "expression_statement". Whereas it should match
>> only "expression" and "parenthesized_expression".
>>
>> So here is the patch that adds delimiters "\\_<" and "\\_>"
>> around node names by 'js--regexp-opt-symbol' (and adds
>> some useful nodes as well):
>
> With no objections, this is pushed now.
Thanks Juri!
Yuan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#71244: Limit matches of treesit-thing-settings in js-ts-mode,
Yuan Fu <=