mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
* Added configuration for TypoScript * Removed duplicated code; Applied folding suggestion * Applied suggestions * Update queries/typoscript/highlights.scm Co-authored-by: ObserverOfTime <chronobserver@disroot.org> --------- Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
46 lines
511 B
Scheme
46 lines
511 B
Scheme
(identifier) @field
|
|
|
|
(constant) @constant
|
|
|
|
(modifier_function) @function
|
|
(modifier_predefined) @function.builtin
|
|
|
|
[
|
|
(condition)
|
|
(condition_end)
|
|
(condition_else)
|
|
] @conditional
|
|
|
|
(cobject) @type.builtin
|
|
|
|
[
|
|
"@import"
|
|
"INCLUDE_TYPOSCRIPT"
|
|
] @include
|
|
|
|
[
|
|
(comment)
|
|
(single_line_comment)
|
|
] @comment @spell
|
|
|
|
[
|
|
(string)
|
|
(multiline_value)
|
|
] @string
|
|
|
|
[
|
|
"="
|
|
">"
|
|
"<"
|
|
":="
|
|
"=<"
|
|
(condition_bool)
|
|
] @operator
|
|
|
|
"," @punctuation.delimiter
|
|
|
|
[
|
|
"("
|
|
")"
|
|
(block_punctuation)
|
|
] @punctuation.bracket
|