summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queries/cmake/highlights.scm11
1 files changed, 5 insertions, 6 deletions
diff --git a/queries/cmake/highlights.scm b/queries/cmake/highlights.scm
index a6195038..f20fe617 100644
--- a/queries/cmake/highlights.scm
+++ b/queries/cmake/highlights.scm
@@ -3,20 +3,19 @@
(bracket_argument)
] @string
-(variable_ref) @variable
+(variable_ref) @none
[
(bracket_comment)
(line_comment)
] @comment
-[
- "$ENV"
- "$CACHE"
-] @variable.builtin
-
(normal_command (identifier) @function)
+["ENV" "CACHE"] @symbol
+["$" "{" "}"] @punctuation.special
+["(" ")"] @punctuation.bracket
+
[
(function)
(endfunction)