mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 20:10:10 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
0
runtime/queries/git_config/folds.scm
Normal file
0
runtime/queries/git_config/folds.scm
Normal file
49
runtime/queries/git_config/highlights.scm
Normal file
49
runtime/queries/git_config/highlights.scm
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
; Sections
|
||||
|
||||
(section_name) @type
|
||||
|
||||
((section_name) @include
|
||||
(#eq? @include "include"))
|
||||
|
||||
((section_header
|
||||
(section_name) @include
|
||||
(subsection_name))
|
||||
(#eq? @include "includeIf"))
|
||||
|
||||
(variable (name) @property)
|
||||
|
||||
; Operators
|
||||
|
||||
[
|
||||
"="
|
||||
] @operator
|
||||
|
||||
; Literals
|
||||
|
||||
(integer) @number
|
||||
[
|
||||
(true)
|
||||
(false)
|
||||
] @boolean
|
||||
|
||||
(string) @string
|
||||
|
||||
((string) @text.uri
|
||||
(#lua-match? @text.uri "^[.]?[/]"))
|
||||
|
||||
((string) @text.uri
|
||||
(#lua-match? @text.uri "^[~]"))
|
||||
|
||||
(section_header
|
||||
[
|
||||
"\""
|
||||
(subsection_name)
|
||||
] @string.special)
|
||||
|
||||
; Punctuation
|
||||
|
||||
[ "[" "]" ] @punctuation.bracket
|
||||
|
||||
; Comments
|
||||
|
||||
(comment) @comment @spell
|
||||
Loading…
Add table
Add a link
Reference in a new issue