Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/opencl/highlights.scm')
| -rw-r--r-- | runtime/queries/opencl/highlights.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/queries/opencl/highlights.scm b/runtime/queries/opencl/highlights.scm index 36133bd2..9d76d6c6 100644 --- a/runtime/queries/opencl/highlights.scm +++ b/runtime/queries/opencl/highlights.scm @@ -106,11 +106,6 @@ [(true) (false)] @constant.builtin.boolean -(identifier) @variable - -((identifier) @constant - (#match? @constant "^[A-Z][A-Z\\d_]*$")) - (enumerator name: (identifier) @type.enum.variant) (string_literal) @string @@ -147,4 +142,9 @@ (vector_type) @type.builtin (other_builtin_type) @type.builtin +((identifier) @constant + (#match? @constant "^[A-Z][A-Z\\d_]*$")) + +(identifier) @variable + (comment) @comment |