mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
chore: queries
This commit is contained in:
parent
86f4c19081
commit
f6b70beb25
5 changed files with 69 additions and 1 deletions
|
|
@ -60,7 +60,7 @@
|
|||
"revision": "b5eb5742f6a7e9438bee22ce8026d6b927be2cd7"
|
||||
},
|
||||
"caddy": {
|
||||
"revision": "6f860e7c0527b293439f5f96a1adac043e3ec18e"
|
||||
"revision": "2686186edb61be47960431c93a204fb249681360"
|
||||
},
|
||||
"cairo": {
|
||||
"revision": "6238f609bea233040fe927858156dee5515a0745"
|
||||
|
|
|
|||
2
queries/caddy/folds.scm
Normal file
2
queries/caddy/folds.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
(block) @fold
|
||||
|
||||
52
queries/caddy/highlights.scm
Normal file
52
queries/caddy/highlights.scm
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
(comment) @comment @spell
|
||||
|
||||
[
|
||||
(env)
|
||||
(argv)
|
||||
(block_variable)
|
||||
(placeholder)
|
||||
] @constant
|
||||
|
||||
(value) @variable
|
||||
(directive (keyword) @attribute)
|
||||
(global_options (option (keyword) @attribute))
|
||||
|
||||
(keyword) @keyword
|
||||
|
||||
(boolean) @boolean
|
||||
|
||||
(placeholder
|
||||
[
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.special)
|
||||
|
||||
|
||||
[
|
||||
(auto)
|
||||
] @variable.builtin
|
||||
|
||||
[
|
||||
(string_literal)
|
||||
(quoted_string_literal)
|
||||
(address)
|
||||
] @string
|
||||
|
||||
[
|
||||
(matcher)
|
||||
(route)
|
||||
(snippet_name)
|
||||
] @string.special
|
||||
|
||||
[
|
||||
(numeric_literal)
|
||||
(time)
|
||||
(size)
|
||||
(ip_literal)
|
||||
] @number
|
||||
|
||||
[
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
11
queries/caddy/indents.scm
Normal file
11
queries/caddy/indents.scm
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
(block)
|
||||
] @indent.begin
|
||||
|
||||
(block
|
||||
"}" @indent.branch)
|
||||
|
||||
(comment) @indent.auto
|
||||
|
||||
(ERROR) @indent.auto
|
||||
|
||||
3
queries/caddy/injections.scm
Normal file
3
queries/caddy/injections.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue