nvim-treesitter/queries/cmake/highlights.scm

42 lines
457 B
Scheme

[
(quoted_argument)
(bracket_argument)
] @string
(variable_ref) @none
[
(bracket_comment)
(line_comment)
] @comment
(normal_command (identifier) @function)
["ENV" "CACHE"] @symbol
["$" "{" "}" "<" ">"] @punctuation.special
["(" ")"] @punctuation.bracket
[
(function)
(endfunction)
] @function
[
(macro)
(endmacro)
] @function.macro
[
(if)
(elseif)
(else)
(endif)
] @conditional
[
(foreach)
(endforeach)
(while)
(endwhile)
] @repeat