mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 21:40:03 -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/typoscript/folds.scm
Normal file
1
runtime/queries/typoscript/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(block) @fold
|
||||
47
runtime/queries/typoscript/highlights.scm
Normal file
47
runtime/queries/typoscript/highlights.scm
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
(identifier) @variable.member
|
||||
|
||||
(constant) @constant
|
||||
|
||||
(modifier_function) @function
|
||||
|
||||
(modifier_predefined) @function.builtin
|
||||
|
||||
[
|
||||
(condition)
|
||||
(condition_end)
|
||||
(condition_else)
|
||||
] @keyword.conditional
|
||||
|
||||
(cobject) @type.builtin
|
||||
|
||||
[
|
||||
"@import"
|
||||
"INCLUDE_TYPOSCRIPT"
|
||||
] @keyword.import
|
||||
|
||||
[
|
||||
(comment)
|
||||
(single_line_comment)
|
||||
] @comment @spell
|
||||
|
||||
[
|
||||
(string)
|
||||
(multiline_value)
|
||||
] @string
|
||||
|
||||
[
|
||||
"="
|
||||
">"
|
||||
"<"
|
||||
":="
|
||||
"=<"
|
||||
(condition_bool)
|
||||
] @operator
|
||||
|
||||
"," @punctuation.delimiter
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
(block_punctuation)
|
||||
] @punctuation.bracket
|
||||
5
runtime/queries/typoscript/indents.scm
Normal file
5
runtime/queries/typoscript/indents.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
(block) @indent.begin
|
||||
|
||||
"}" @indent.branch @indent.end
|
||||
|
||||
(comment) @indent.ignore
|
||||
2
runtime/queries/typoscript/injections.scm
Normal file
2
runtime/queries/typoscript/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