mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -1,5 +1,4 @@
|
|||
; fold.scm
|
||||
|
||||
[
|
||||
(comment)
|
||||
(entry)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
; highlights.scm
|
||||
|
||||
[
|
||||
[
|
||||
"[QueryStringParams]"
|
||||
"[FormParams]"
|
||||
"[MultipartFormData]"
|
||||
|
|
@ -13,7 +12,7 @@
|
|||
(json_key_string)
|
||||
] @property
|
||||
|
||||
[
|
||||
[
|
||||
"\\"
|
||||
(regex_escaped_char)
|
||||
(quoted_string_escaped_char)
|
||||
|
|
@ -53,7 +52,8 @@
|
|||
"retry"
|
||||
"retry-interval"
|
||||
"retry-max-count"
|
||||
(variable_option "variable")
|
||||
(variable_option
|
||||
"variable")
|
||||
"verbose"
|
||||
"very-verbose"
|
||||
] @constant.builtin
|
||||
|
|
@ -102,17 +102,26 @@
|
|||
(json_number)
|
||||
] @number.float
|
||||
|
||||
[ ":" "," ] @punctuation.delimiter
|
||||
[
|
||||
":"
|
||||
","
|
||||
] @punctuation.delimiter
|
||||
|
||||
[ "[" "]" "{" "}" "{{" "}}" ] @punctuation.bracket
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
"{{"
|
||||
"}}"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
[
|
||||
(value_string)
|
||||
(quoted_string)
|
||||
(json_string)
|
||||
] @string
|
||||
|
||||
|
||||
[
|
||||
"base64,"
|
||||
"hex,"
|
||||
|
|
@ -133,4 +142,3 @@
|
|||
(filter) @attribute
|
||||
|
||||
(method) @type.builtin
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
; indents.scm
|
||||
|
||||
[
|
||||
(json_object)
|
||||
(json_array)
|
||||
|
|
@ -11,4 +10,5 @@
|
|||
] @indent.branch
|
||||
|
||||
(xml_tag) @indent.begin
|
||||
|
||||
(xml_close_tag) @indent.branch
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
; injections.scm
|
||||
((json_value) @injection.content
|
||||
(#set! injection.language "json"))
|
||||
(#set! injection.language "json"))
|
||||
|
||||
((xml) @injection.content
|
||||
(#set! injection.language "xml"))
|
||||
(#set! injection.language "xml"))
|
||||
|
||||
(multiline_string
|
||||
(multiline_string_type) @_lang
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue