mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -51,9 +51,16 @@
|
|||
"string"
|
||||
] @type.builtin
|
||||
|
||||
[ "(" ")" ] @punctuation.bracket
|
||||
[
|
||||
"("
|
||||
")"
|
||||
] @punctuation.bracket
|
||||
|
||||
(macro_variable ["$(" ")"] @punctuation.special)
|
||||
(macro_variable
|
||||
[
|
||||
"$("
|
||||
")"
|
||||
] @punctuation.special)
|
||||
|
||||
(symbol) @variable
|
||||
|
||||
|
|
@ -63,17 +70,28 @@
|
|||
(text)
|
||||
] @string
|
||||
|
||||
(config name: (symbol) @constant)
|
||||
(menuconfig name: (symbol) @constant)
|
||||
(choice name: (symbol) @constant)
|
||||
(config
|
||||
name: (symbol) @constant)
|
||||
|
||||
(menuconfig
|
||||
name: (symbol) @constant)
|
||||
|
||||
(choice
|
||||
name: (symbol) @constant)
|
||||
|
||||
((symbol) @constant
|
||||
(#lua-match? @constant "[A-Z0-9]+"))
|
||||
|
||||
(mainmenu name: (prompt) @markup.heading)
|
||||
(comment_entry name: (prompt) @markup.heading)
|
||||
(menu name: (prompt) @markup.heading)
|
||||
(mainmenu
|
||||
name: (prompt) @markup.heading)
|
||||
|
||||
(source (prompt) @string.special.url)
|
||||
(comment_entry
|
||||
name: (prompt) @markup.heading)
|
||||
|
||||
(menu
|
||||
name: (prompt) @markup.heading)
|
||||
|
||||
(source
|
||||
(prompt) @string.special.url)
|
||||
|
||||
(comment) @comment @spell
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
(help_text (text) @indent.auto)
|
||||
(help_text
|
||||
(text) @indent.auto)
|
||||
|
||||
[
|
||||
(config)
|
||||
|
|
|
|||
|
|
@ -12,6 +12,13 @@
|
|||
(if)
|
||||
] @local.scope
|
||||
|
||||
(type_definition (prompt) @local.definition.var)
|
||||
(type_definition (input_prompt (prompt) @local.definition.var))
|
||||
(type_definition_default (expression (prompt) @local.definition.var))
|
||||
(type_definition
|
||||
(prompt) @local.definition.var)
|
||||
|
||||
(type_definition
|
||||
(input_prompt
|
||||
(prompt) @local.definition.var))
|
||||
|
||||
(type_definition_default
|
||||
(expression
|
||||
(prompt) @local.definition.var))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue