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.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/queries/dot/highlights.scm b/runtime/queries/dot/highlights.scm
index 6ad64d28..eefb81f9 100644
--- a/runtime/queries/dot/highlights.scm
+++ b/runtime/queries/dot/highlights.scm
@@ -1,3 +1,5 @@
+(identifier) @variable
+
(keyword) @keyword
(string_literal) @string
(number_literal) @constant.numeric
@@ -33,11 +35,9 @@
(identifier) @constant)
)
-[
- (comment)
- (preproc)
-] @comment
+(comment) @comment
+
+(preproc) @keyword.directive
(ERROR) @error
-(identifier) @variable