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