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
52
runtime/queries/requirements/highlights.scm
Normal file
52
runtime/queries/requirements/highlights.scm
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
; packages
|
||||
(package) @variable
|
||||
|
||||
(extras
|
||||
(package) @variable.parameter)
|
||||
|
||||
(path) @string.special.path
|
||||
|
||||
(url) @string.special.url
|
||||
|
||||
; versions
|
||||
(version_cmp) @operator
|
||||
|
||||
(version) @number
|
||||
|
||||
; markers
|
||||
(marker_var) @attribute
|
||||
|
||||
(marker_op) @keyword.operator
|
||||
|
||||
; options
|
||||
(option) @function
|
||||
|
||||
"=" @operator
|
||||
|
||||
; punctuation
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"("
|
||||
")"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
","
|
||||
";"
|
||||
"@"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"${"
|
||||
"}"
|
||||
] @punctuation.special
|
||||
|
||||
; misc
|
||||
(env_var) @constant
|
||||
|
||||
(quoted_string) @string
|
||||
|
||||
(linebreak) @character.special
|
||||
|
||||
(comment) @comment @spell
|
||||
2
runtime/queries/requirements/injections.scm
Normal file
2
runtime/queries/requirements/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