1
Files
flake-nixinator/config/neovim/store/treesitter-parsers/queries/meson/highlights.scm

50 lines
474 B
Scheme

(comment) @comment
(number) @number
(bool) @boolean
[
"("
")"
"{"
"}"
"["
"]"
]
@punctuation.bracket
[
"="
"=="
"and"
"+"
"!="
"+="
"not"
] @operator
[
"if"
"elif"
"else"
"endif"
] @conditional
[
"foreach"
"endforeach"
(keyword_break)
(keyword_continue)
] @repeat
;;; format
(string) @string
["@"] @keyword
(expression_statement
object: (identifier) @variable)
(normal_command
command: (identifier) @function)
(pair
key: (identifier) @property)