Skip to content

Commit

Permalink
queries: Remove unknown predicates
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Feb 22, 2025
1 parent 0deb8bb commit 3683cd9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions runtime/queries/_gjs/injections.scm
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@
(call_expression
function: ((identifier) @_name
(#eq? @_name "hbs"))
arguments: ((template_string) @glimmer
(#offset! @glimmer 0 1 0 -1)))
arguments: (template_string) @glimmer)
3 changes: 1 addition & 2 deletions runtime/queries/dockerfile/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
] @label

((heredoc_block
(heredoc_line) @string)
(#set! "priority" 90))
(heredoc_line) @string))

(expansion
[
Expand Down
6 changes: 2 additions & 4 deletions runtime/queries/julia/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,10 @@
"VersionNumber" "WeakKeyDict" "WeakRef"))

((identifier) @variable.builtin
(#any-of? @variable.builtin "begin" "end")
(#has-ancestor? @variable.builtin index_expression))
(#any-of? @variable.builtin "begin" "end"))

((identifier) @variable.builtin
(#any-of? @variable.builtin "begin" "end")
(#has-ancestor? @variable.builtin range_expression))
(#any-of? @variable.builtin "begin" "end"))


; --------
Expand Down

0 comments on commit 3683cd9

Please sign in to comment.