summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikas Raj <vikasraj1911@gmail.com>2021-10-01 11:52:55 +0530
committerStephan Seitz <stephan.seitz@fau.de>2021-10-01 18:30:34 +0200
commit2d1c26a89d5e3d90f1affb45fd1ec71d405f55a1 (patch)
treef3cb1eb20b79d1bce5f6c705a1203435c3cc170d
parentb12ab1d851b9e91983b3600fce1e4ebefb4f7f4b (diff)
highlight `description` as a comment
-rw-r--r--queries/graphql/highlights.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/queries/graphql/highlights.scm b/queries/graphql/highlights.scm
index 75842593..cedf8e11 100644
--- a/queries/graphql/highlights.scm
+++ b/queries/graphql/highlights.scm
@@ -109,7 +109,8 @@
; Literals
;---------
-(description) @comment
+(description
+ (string_value) @comment)
(comment) @comment