mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 23:40:04 -04:00
chore: format queries
This commit is contained in:
parent
76ca66db38
commit
77e298e4de
50 changed files with 143 additions and 146 deletions
|
|
@ -96,10 +96,10 @@
|
|||
"await" @keyword.coroutine
|
||||
|
||||
(pcal_with
|
||||
("=") @keyword)
|
||||
"=" @keyword)
|
||||
|
||||
(pcal_process
|
||||
("=") @keyword)
|
||||
"=" @keyword)
|
||||
|
||||
[
|
||||
"if"
|
||||
|
|
@ -119,9 +119,9 @@
|
|||
(pcal_end_with)
|
||||
] @keyword.repeat
|
||||
|
||||
("return") @keyword.return
|
||||
"return" @keyword.return
|
||||
|
||||
("print") @function.macro
|
||||
"print" @function.macro
|
||||
|
||||
; Literals
|
||||
(binary_number
|
||||
|
|
@ -188,11 +188,11 @@
|
|||
(bound_prefix_op
|
||||
symbol: (_) @operator)
|
||||
|
||||
((prefix_op_symbol) @operator)
|
||||
(prefix_op_symbol) @operator
|
||||
|
||||
((infix_op_symbol) @operator)
|
||||
(infix_op_symbol) @operator
|
||||
|
||||
((postfix_op_symbol) @operator)
|
||||
(postfix_op_symbol) @operator
|
||||
|
||||
(function_definition
|
||||
name: (identifier) @function)
|
||||
|
|
@ -236,7 +236,7 @@
|
|||
(pcal_with
|
||||
(identifier) @variable.parameter)
|
||||
|
||||
((".")
|
||||
("."
|
||||
.
|
||||
(identifier) @attribute)
|
||||
|
||||
|
|
|
|||
|
|
@ -150,17 +150,17 @@
|
|||
; References
|
||||
(identifier_ref) @local.reference
|
||||
|
||||
((prefix_op_symbol) @local.reference)
|
||||
(prefix_op_symbol) @local.reference
|
||||
|
||||
(bound_prefix_op
|
||||
symbol: (_) @local.reference)
|
||||
|
||||
((infix_op_symbol) @local.reference)
|
||||
(infix_op_symbol) @local.reference
|
||||
|
||||
(bound_infix_op
|
||||
symbol: (_) @local.reference)
|
||||
|
||||
((postfix_op_symbol) @local.reference)
|
||||
(postfix_op_symbol) @local.reference
|
||||
|
||||
(bound_postfix_op
|
||||
symbol: (_) @local.reference)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue