mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 17:00:09 -04:00
chore: format queries
This commit is contained in:
parent
76ca66db38
commit
77e298e4de
50 changed files with 143 additions and 146 deletions
|
|
@ -92,22 +92,22 @@
|
|||
(simple_identifier) @function)
|
||||
|
||||
(getter
|
||||
("get") @function.builtin)
|
||||
"get" @function.builtin)
|
||||
|
||||
(setter
|
||||
("set") @function.builtin)
|
||||
"set" @function.builtin)
|
||||
|
||||
(primary_constructor) @constructor
|
||||
|
||||
(secondary_constructor
|
||||
("constructor") @constructor)
|
||||
"constructor" @constructor)
|
||||
|
||||
(constructor_invocation
|
||||
(user_type
|
||||
(type_identifier) @constructor))
|
||||
|
||||
(anonymous_initializer
|
||||
("init") @constructor)
|
||||
"init" @constructor)
|
||||
|
||||
(parameter
|
||||
(simple_identifier) @variable.parameter)
|
||||
|
|
@ -182,7 +182,7 @@
|
|||
; - "[abc]?".toRegex()
|
||||
(call_expression
|
||||
(navigation_expression
|
||||
((string_literal) @string.regexp)
|
||||
(string_literal) @string.regexp
|
||||
(navigation_suffix
|
||||
((simple_identifier) @_function
|
||||
(#eq? @_function "toRegex")))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue