Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/d/highlights.scm')
-rw-r--r--runtime/queries/d/highlights.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/queries/d/highlights.scm b/runtime/queries/d/highlights.scm
index ee16c901..b5db8431 100644
--- a/runtime/queries/d/highlights.scm
+++ b/runtime/queries/d/highlights.scm
@@ -217,8 +217,6 @@
(cfloat)
] @warning ; these types are deprecated
-(identifier) @variable
-
(label (identifier) @label)
(goto_statement (goto) @keyword (identifier) @label)
@@ -226,6 +224,7 @@
(int_literal) @constant.numeric.integer
(float_literal) @constant.numeric.float
(char_literal) @constant.character
+(identifier) @variable
(at_attribute) @attribute
; everything after __EOF_ is plain text