aboutsummaryrefslogtreecommitdiffstats
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
parentfix(vim): support syntax command and update parser (diff)
downloadnvim-treesitter-2d1c26a89d5e3d90f1affb45fd1ec71d405f55a1.tar
nvim-treesitter-2d1c26a89d5e3d90f1affb45fd1ec71d405f55a1.tar.gz
nvim-treesitter-2d1c26a89d5e3d90f1affb45fd1ec71d405f55a1.tar.bz2
nvim-treesitter-2d1c26a89d5e3d90f1affb45fd1ec71d405f55a1.tar.lz
nvim-treesitter-2d1c26a89d5e3d90f1affb45fd1ec71d405f55a1.tar.xz
nvim-treesitter-2d1c26a89d5e3d90f1affb45fd1ec71d405f55a1.tar.zst
nvim-treesitter-2d1c26a89d5e3d90f1affb45fd1ec71d405f55a1.zip
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 758425934..cedf8e113 100644
--- a/queries/graphql/highlights.scm
+++ b/queries/graphql/highlights.scm
@@ -109,7 +109,8 @@
; Literals
;---------
-(description) @comment
+(description
+ (string_value) @comment)
(comment) @comment