[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: |
Juri Linkov |
Subject: |
bug#71244: Limit matches of treesit-thing-settings in js-ts-mode |
Date: |
Fri, 31 May 2024 09:34:39 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
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.