Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/hare/highlights.scm')
-rw-r--r--runtime/queries/hare/highlights.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/queries/hare/highlights.scm b/runtime/queries/hare/highlights.scm
index 5115328d..adaea14e 100644
--- a/runtime/queries/hare/highlights.scm
+++ b/runtime/queries/hare/highlights.scm
@@ -118,6 +118,8 @@
] @constant.builtin
(literal "void") @constant.builtin
+(identifier) @variable
+
(string_literal) @string
(escape_sequence) @constant.character.escape
(rune_literal) @string
@@ -138,5 +140,4 @@
(decl_attr) @special
(fndec_attrs) @special
-(identifier) @variable
(struct_union_field (name)) @variable