mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
1
runtime/queries/caddy/folds.scm
Normal file
1
runtime/queries/caddy/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(block) @fold
|
||||
55
runtime/queries/caddy/highlights.scm
Normal file
55
runtime/queries/caddy/highlights.scm
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
(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
|
||||
|
||||
"," @punctuation.delimiter
|
||||
8
runtime/queries/caddy/indents.scm
Normal file
8
runtime/queries/caddy/indents.scm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
(block) @indent.begin
|
||||
|
||||
(block
|
||||
"}" @indent.branch)
|
||||
|
||||
(comment) @indent.auto
|
||||
|
||||
(ERROR) @indent.auto
|
||||
2
runtime/queries/caddy/injections.scm
Normal file
2
runtime/queries/caddy/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue