summaryrefslogtreecommitdiffstats
path: root/queries/graphql
diff options
context:
space:
mode:
authorLuis Carlos Cruz Carballo <lcruzc@linkux-it.com>2020-11-27 15:01:41 -0400
committerKiyan <yazdani.kiyan@protonmail.com>2020-11-29 20:20:04 +0100
commit7cea2981444841403a5b85838edd26c390adcdb3 (patch)
tree27db5747e1a2b925e6c6b99d87e2a813e7ee1bc3 /queries/graphql
parentFix typo in README (diff)
downloadnvim-treesitter-7cea2981444841403a5b85838edd26c390adcdb3.tar
nvim-treesitter-7cea2981444841403a5b85838edd26c390adcdb3.tar.gz
nvim-treesitter-7cea2981444841403a5b85838edd26c390adcdb3.tar.bz2
nvim-treesitter-7cea2981444841403a5b85838edd26c390adcdb3.tar.lz
nvim-treesitter-7cea2981444841403a5b85838edd26c390adcdb3.tar.xz
nvim-treesitter-7cea2981444841403a5b85838edd26c390adcdb3.tar.zst
nvim-treesitter-7cea2981444841403a5b85838edd26c390adcdb3.zip
graphql: add injection to javascript and add comment query
Diffstat (limited to 'queries/graphql')
-rw-r--r--queries/graphql/highlights.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/graphql/highlights.scm b/queries/graphql/highlights.scm
index 4846606cb..3c4fb1623 100644
--- a/queries/graphql/highlights.scm
+++ b/queries/graphql/highlights.scm
@@ -98,6 +98,8 @@
(description) @comment
+(comment) @comment
+
(directive_location
(executable_directive_location) @type.builtin)