nvim-treesitter/queries/cmake/highlights.scm

40 lines
448 B
Scheme
Raw Normal View History

[
(quoted_argument)
(bracket_argument)
] @string
2021-06-20 21:49:34 +02:00
(variable_ref) @variable
2021-06-20 21:49:34 +02:00
[
(bracket_comment)
(line_comment)
] @comment
(normal_command (identifier) @function)
["ENV" "CACHE"] @symbol
["$" "{" "}" "<" ">"] @punctuation.special
["(" ")"] @punctuation.bracket
[
(function)
(endfunction)
(macro)
(endmacro)
] @keyword.function
[
(if)
(elseif)
(else)
(endif)
] @conditional
[
(foreach)
(endforeach)
(while)
(endwhile)
] @repeat
2021-06-20 21:49:34 +02:00