aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/ecma
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2025-07-21 19:09:00 -0700
committerChristian Clason <ch.clason+github@icloud.com>2025-07-22 09:52:32 +0200
commit40cca05b40438ddd74125132b0cec58c9afdccb2 (patch)
tree91c68eb9de0624a4671671781be067a9b7f5a661 /runtime/queries/ecma
parentfix(jinja): remove crashing pattern (diff)
downloadnvim-treesitter-40cca05b40438ddd74125132b0cec58c9afdccb2.tar
nvim-treesitter-40cca05b40438ddd74125132b0cec58c9afdccb2.tar.gz
nvim-treesitter-40cca05b40438ddd74125132b0cec58c9afdccb2.tar.bz2
nvim-treesitter-40cca05b40438ddd74125132b0cec58c9afdccb2.tar.lz
nvim-treesitter-40cca05b40438ddd74125132b0cec58c9afdccb2.tar.xz
nvim-treesitter-40cca05b40438ddd74125132b0cec58c9afdccb2.tar.zst
nvim-treesitter-40cca05b40438ddd74125132b0cec58c9afdccb2.zip
fix(c, ecma): remove invalid predicate parameters
These are not valid named nodes in their respective languages.
Diffstat (limited to 'runtime/queries/ecma')
-rw-r--r--runtime/queries/ecma/indents.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/ecma/indents.scm b/runtime/queries/ecma/indents.scm
index d56741670..b613426ee 100644
--- a/runtime/queries/ecma/indents.scm
+++ b/runtime/queries/ecma/indents.scm
@@ -33,11 +33,11 @@
(assignment_expression
right: (_) @_right
- (#not-kind-eq? @_right "arrow_function" "function")) @indent.begin
+ (#not-kind-eq? @_right "arrow_function")) @indent.begin
(variable_declarator
value: (_) @_value
- (#not-kind-eq? @_value "arrow_function" "call_expression" "function")) @indent.begin
+ (#not-kind-eq? @_value "arrow_function" "call_expression")) @indent.begin
(arguments
")" @indent.end)