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