mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 14:00:00 -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
1
runtime/queries/ungrammar/folds.scm
Normal file
1
runtime/queries/ungrammar/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(node) @fold
|
||||
30
runtime/queries/ungrammar/highlights.scm
Normal file
30
runtime/queries/ungrammar/highlights.scm
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
(comment) @comment
|
||||
|
||||
(definition) @keyword
|
||||
|
||||
(identifier) @variable
|
||||
|
||||
(label_name) @label
|
||||
|
||||
(token) @string
|
||||
|
||||
[
|
||||
"="
|
||||
"|"
|
||||
] @operator
|
||||
|
||||
[
|
||||
"*"
|
||||
"?"
|
||||
] @repeat
|
||||
|
||||
[
|
||||
":"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
] @punctuation.bracket
|
||||
|
||||
(ERROR) @error
|
||||
6
runtime/queries/ungrammar/indents.scm
Normal file
6
runtime/queries/ungrammar/indents.scm
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
(node) @indent.begin
|
||||
|
||||
[
|
||||
(ERROR)
|
||||
(comment)
|
||||
] @indent.auto
|
||||
3
runtime/queries/ungrammar/injections.scm
Normal file
3
runtime/queries/ungrammar/injections.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
7
runtime/queries/ungrammar/locals.scm
Normal file
7
runtime/queries/ungrammar/locals.scm
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(grammar) @scope
|
||||
|
||||
(definition) @definition
|
||||
|
||||
(label_name) @definition.label
|
||||
|
||||
(identifier) @reference
|
||||
Loading…
Add table
Add a link
Reference in a new issue