aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/cmake/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/cmake/highlights.scm b/queries/cmake/highlights.scm
index 8a471fd1c..055319978 100644
--- a/queries/cmake/highlights.scm
+++ b/queries/cmake/highlights.scm
@@ -1,7 +1,7 @@
(normal_command
(identifier)
(argument (unquoted_argument)) @constant
- (#match? @constant "^[A-Z][A-Z_]+$")
+ (#lua-match? @constant "^%u[%u_]+$")
)
[
@@ -186,4 +186,4 @@
(escape_sequence) @string.escape
((source_file . (line_comment) @preproc)
- (#match? @preproc "^#!/"))
+ (#lua-match? @preproc "^#!/"))