aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/c/highlights.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm
index 6fdc05dc8..019522c3b 100644
--- a/queries/c/highlights.scm
+++ b/queries/c/highlights.scm
@@ -137,6 +137,8 @@
((identifier) @constant
(#lua-match? @constant "^[A-Z][A-Z0-9_]+$"))
+(enumerator
+ name: (identifier) @constant)
;; Preproc def / undef
(preproc_def