summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queries/c/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm
index 930c89e3..0e7dddcd 100644
--- a/queries/c/highlights.scm
+++ b/queries/c/highlights.scm
@@ -138,8 +138,8 @@
(type_descriptor)
] @type
-(declaration type: [(identifier) (type_identifier)] @type)
-(cast_expression type: [(identifier) (type_identifier)] @type)
+(declaration (type_qualifier) @type)
+(cast_expression type: (type_descriptor) @type)
(sizeof_expression value: (parenthesized_expression (identifier) @type))
((identifier) @constant