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/nginx/folds.scm
Normal file
1
runtime/queries/nginx/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(block) @fold
|
||||
59
runtime/queries/nginx/highlights.scm
Normal file
59
runtime/queries/nginx/highlights.scm
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
(comment) @comment @spell
|
||||
|
||||
(value) @variable
|
||||
|
||||
[
|
||||
(location_modifier)
|
||||
"="
|
||||
] @operator
|
||||
|
||||
[
|
||||
(keyword)
|
||||
"location"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"if"
|
||||
"map"
|
||||
] @keyword.conditional
|
||||
|
||||
(boolean) @boolean
|
||||
|
||||
[
|
||||
(auto)
|
||||
(constant)
|
||||
(level)
|
||||
(connection_method)
|
||||
(var)
|
||||
(condition)
|
||||
] @variable.builtin
|
||||
|
||||
[
|
||||
(file)
|
||||
(mask)
|
||||
] @string.special.path
|
||||
|
||||
[
|
||||
(string_literal)
|
||||
(quoted_string_literal)
|
||||
] @string
|
||||
|
||||
(directive
|
||||
(variable
|
||||
(keyword) @variable.parameter))
|
||||
|
||||
(location_route) @string.special
|
||||
|
||||
";" @punctuation.delimiter
|
||||
|
||||
[
|
||||
(numeric_literal)
|
||||
(time)
|
||||
(size)
|
||||
(cpumask)
|
||||
] @number
|
||||
|
||||
[
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
2
runtime/queries/nginx/injections.scm
Normal file
2
runtime/queries/nginx/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