aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorJuri Linkov2024-05-31 09:34:28 +0300
committerJuri Linkov2024-05-31 09:34:28 +0300
commit87e4e1beab05c297c6a4b2b159dd07246381884f (patch)
treee28e3d8c9c43be7f56d1b7175312203b2321c55b /java/res
parentb7824916300e63e7352d2e268c72894b68937553 (diff)
downloademacs-87e4e1beab05c297c6a4b2b159dd07246381884f.tar.gz
emacs-87e4e1beab05c297c6a4b2b159dd07246381884f.zip
Limit matches of treesit-thing-settings in js-ts-mode (bug#71244)
* lisp/progmodes/js.el (js-ts-mode): Use 'js--regexp-opt-symbol' for 'js--treesit-sexp-nodes', 'js--treesit-sentence-nodes' and 'text' that wraps the regexp in \_< and \_> delimiters to avoid false positives such as "expression" used for "expression_statement". (js--treesit-sexp-nodes): Add more useful nodes "parenthesized_expression", "formal_parameters", "statement_block", "object", "object_pattern", "named_imports", "class_body".
Diffstat (limited to 'java/res')
0 files changed, 0 insertions, 0 deletions