nvim-treesitter/queries/meson/highlights.scm
ObserverOfTime bedc763361 highlights(meson): fix captures
Co-Authored-By: ShootingStarDragons <ShootingStarDragons@protonmail.com>
2022-11-26 13:17:51 +02:00

75 lines
784 B
Scheme

(comment) @comment
(number) @number
(bool) @boolean
(identifier) @variable
[
"("
")"
"{"
"}"
"["
"]"
] @punctuation.bracket
[
":"
","
"."
] @punctuation.delimiter
[
"and"
"not"
"or"
"in"
] @keyword.operator
[
"="
"=="
"!="
"+"
"/"
"/="
"+="
"-="
">"
">="
] @operator
"?" @conditional.ternary
[
"if"
"elif"
"else"
"endif"
] @conditional
[
"foreach"
"endforeach"
(keyword_break)
(keyword_continue)
] @repeat
(string) @string
"@" @punctuation.special
(normal_command
command: (identifier) @function)
(pair
key: (identifier) @property)
(escape_sequence) @string.escape
((identifier) @variable.builtin
(#any-of? @variable.builtin
"meson"
"host_machine"
"build_machine"
"target_machine"
))