queries: Remove unknown predicates

This commit is contained in:
Michael Davis 2025-02-22 14:25:34 -05:00
parent 0deb8bbce6
commit 3683cd9ea3
No known key found for this signature in database
3 changed files with 4 additions and 8 deletions

View file

@ -16,5 +16,4 @@
(call_expression (call_expression
function: ((identifier) @_name function: ((identifier) @_name
(#eq? @_name "hbs")) (#eq? @_name "hbs"))
arguments: ((template_string) @glimmer arguments: (template_string) @glimmer)
(#offset! @glimmer 0 1 0 -1)))

View file

@ -50,8 +50,7 @@
] @label ] @label
((heredoc_block ((heredoc_block
(heredoc_line) @string) (heredoc_line) @string))
(#set! "priority" 90))
(expansion (expansion
[ [

View file

@ -242,12 +242,10 @@
"VersionNumber" "WeakKeyDict" "WeakRef")) "VersionNumber" "WeakKeyDict" "WeakRef"))
((identifier) @variable.builtin ((identifier) @variable.builtin
(#any-of? @variable.builtin "begin" "end") (#any-of? @variable.builtin "begin" "end"))
(#has-ancestor? @variable.builtin index_expression))
((identifier) @variable.builtin ((identifier) @variable.builtin
(#any-of? @variable.builtin "begin" "end") (#any-of? @variable.builtin "begin" "end"))
(#has-ancestor? @variable.builtin range_expression))
; -------- ; --------