Skip to content

Commit

Permalink
feat(queries): update queries
Browse files Browse the repository at this point in the history
Signed-off-by: loongtao.zhang <[email protected]>
  • Loading branch information
cathaysia committed Jan 23, 2025
1 parent 5f01ee8 commit 01c1b56
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions tree-sitter-jinja/queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,9 @@
(function_call
(identifier) @function.call)

; function_call
(arg
(identifier) @variable.parameter)

; macro
(arg
(expression
(binary_expression
Expand Down
3 changes: 0 additions & 3 deletions tree-sitter-jinja_inline/queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -97,19 +97,16 @@
(function_call
(identifier) @function.call)

; function_call
(arg
(identifier) @variable.parameter)

; macro
(arg
(expression
(binary_expression
(unary_expression
(primary_expression
(identifier) @variable.parameter)))))


(expression
"."
(expression)+ @variable.member)
Expand Down

0 comments on commit 01c1b56

Please sign in to comment.