mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -1,20 +1,38 @@
|
|||
(keysym) @constant
|
||||
|
||||
((keysym) @constant.builtin
|
||||
(#eq? @constant.builtin "Multi_key"))
|
||||
(#eq? @constant.builtin "Multi_key"))
|
||||
|
||||
(text) @string
|
||||
|
||||
"include" @keyword.import
|
||||
|
||||
[ (octal) (hex) ] @number
|
||||
[
|
||||
(octal)
|
||||
(hex)
|
||||
] @number
|
||||
|
||||
[ (modifier) "None" ] @type.qualifier
|
||||
[
|
||||
(modifier)
|
||||
"None"
|
||||
] @type.qualifier
|
||||
|
||||
[ "%L" "%H" "%S" ] @string.special
|
||||
[
|
||||
"%L"
|
||||
"%H"
|
||||
"%S"
|
||||
] @string.special
|
||||
|
||||
[ "!" "~" ] @operator
|
||||
[
|
||||
"!"
|
||||
"~"
|
||||
] @operator
|
||||
|
||||
[ ":" "<" ">" "\"" ] @punctuation.delimiter
|
||||
[
|
||||
":"
|
||||
"<"
|
||||
">"
|
||||
"\""
|
||||
] @punctuation.delimiter
|
||||
|
||||
(comment) @comment @spell
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
(#set! injection.language "comment"))
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
(result (keysym) @local.definition)
|
||||
(result
|
||||
(keysym) @local.definition)
|
||||
|
||||
(event (keysym) @local.reference)
|
||||
(event
|
||||
(keysym) @local.reference)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue