mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -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/forth/folds.scm
Normal file
1
runtime/queries/forth/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(word_definition) @fold
|
||||
21
runtime/queries/forth/highlights.scm
Normal file
21
runtime/queries/forth/highlights.scm
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
(core) @function
|
||||
|
||||
(operator) @operator
|
||||
|
||||
(word) @variable
|
||||
|
||||
((word) @constant
|
||||
(#lua-match? @constant "^[A-Z_]+$"))
|
||||
|
||||
(number) @number
|
||||
|
||||
(string) @string
|
||||
|
||||
[
|
||||
(start_definition)
|
||||
(end_definition)
|
||||
] @punctuation.delimiter
|
||||
|
||||
(comment) @comment
|
||||
|
||||
(ERROR) @error
|
||||
3
runtime/queries/forth/indents.scm
Normal file
3
runtime/queries/forth/indents.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(word_definition) @indent.begin
|
||||
|
||||
(end_definition) @indent.end @indent.branch
|
||||
2
runtime/queries/forth/injections.scm
Normal file
2
runtime/queries/forth/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
3
runtime/queries/forth/locals.scm
Normal file
3
runtime/queries/forth/locals.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(word) @reference
|
||||
|
||||
(word_definition) @scope
|
||||
Loading…
Add table
Add a link
Reference in a new issue