Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/dot/highlights.scm')
-rw-r--r--runtime/queries/dot/highlights.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/runtime/queries/dot/highlights.scm b/runtime/queries/dot/highlights.scm
index fb67cfaf..6ad64d28 100644
--- a/runtime/queries/dot/highlights.scm
+++ b/runtime/queries/dot/highlights.scm
@@ -1,5 +1,3 @@
-(identifier) @variable
-
(keyword) @keyword
(string_literal) @string
(number_literal) @constant.numeric
@@ -35,6 +33,11 @@
(identifier) @constant)
)
-(comment) @comment
+[
+ (comment)
+ (preproc)
+] @comment
-(preproc) @keyword.directive
+(ERROR) @error
+
+(identifier) @variable