mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -1,37 +1,65 @@
|
|||
(comment) @comment @spell
|
||||
|
||||
(null) @constant.builtin
|
||||
[ (true) (false) ] @boolean
|
||||
|
||||
[
|
||||
(true)
|
||||
(false)
|
||||
] @boolean
|
||||
|
||||
(number) @number
|
||||
|
||||
(unit) @keyword
|
||||
|
||||
(string) @string
|
||||
|
||||
(multiline_string) @string
|
||||
(string (escape_sequence) @string.escape)
|
||||
|
||||
(string
|
||||
(escape_sequence) @string.escape)
|
||||
|
||||
(unquoted_string) @string
|
||||
|
||||
[ "url"
|
||||
[
|
||||
"url"
|
||||
"file"
|
||||
"classpath"
|
||||
"required"
|
||||
] @keyword
|
||||
|
||||
(include "include" @keyword.import)
|
||||
(include
|
||||
"include" @keyword.import)
|
||||
|
||||
(substitution ["${" "${?" "}"] @punctuation.special)
|
||||
(substitution (_) @variable.member)
|
||||
(substitution
|
||||
[
|
||||
"${"
|
||||
"${?"
|
||||
"}"
|
||||
] @punctuation.special)
|
||||
|
||||
(path (_) @variable.member)
|
||||
(value [":" "=" "+=" ] @operator)
|
||||
(substitution
|
||||
(_) @variable.member)
|
||||
|
||||
(path
|
||||
(_) @variable.member)
|
||||
|
||||
(value
|
||||
[
|
||||
":"
|
||||
"="
|
||||
"+="
|
||||
] @operator)
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
"("
|
||||
")"
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
[ "," ] @punctuation.delimiter
|
||||
(unquoted_path "." @punctuation.delimiter)
|
||||
"," @punctuation.delimiter
|
||||
|
||||
(unquoted_path
|
||||
"." @punctuation.delimiter)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
(#set! injection.language "comment"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue