aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/c/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/c/highlights.scm')
-rw-r--r--runtime/queries/c/highlights.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/runtime/queries/c/highlights.scm b/runtime/queries/c/highlights.scm
index c901b96f31..170937c8f8 100644
--- a/runtime/queries/c/highlights.scm
+++ b/runtime/queries/c/highlights.scm
@@ -7,16 +7,19 @@
[
"default"
- "enum"
- "struct"
- "typedef"
- "union"
"goto"
"asm"
"__asm__"
] @keyword
[
+ "enum"
+ "struct"
+ "union"
+ "typedef"
+] @keyword.type
+
+[
"sizeof"
"offsetof"
] @keyword.operator