mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 19:37:54 +03:00
queries: Remove unknown predicates
This commit is contained in:
parent
0deb8bbce6
commit
3683cd9ea3
3 changed files with 4 additions and 8 deletions
|
@ -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)))
|
|
||||||
|
|
|
@ -50,8 +50,7 @@
|
||||||
] @label
|
] @label
|
||||||
|
|
||||||
((heredoc_block
|
((heredoc_block
|
||||||
(heredoc_line) @string)
|
(heredoc_line) @string))
|
||||||
(#set! "priority" 90))
|
|
||||||
|
|
||||||
(expansion
|
(expansion
|
||||||
[
|
[
|
||||||
|
|
|
@ -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))
|
|
||||||
|
|
||||||
|
|
||||||
; --------
|
; --------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue