mirror of https://github.com/helix-editor/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
318 B
Scheme
18 lines
318 B
Scheme
; Credits to nvim-treesitter/nvim-treesitter-context
|
|
(binary_operator
|
|
left: (_)
|
|
right: (_) @context)
|
|
|
|
(pair
|
|
key: (_)
|
|
value: (_) @context)
|
|
|
|
((unary_operator
|
|
operand: (call
|
|
target: (identifier)
|
|
(arguments (_)))) @_op (#lua-match? @_op "@[%w_]+")) @context
|
|
|
|
(stab_clause) @context
|
|
|
|
(call) @context
|