graphql: add injection to javascript and add comment query

This commit is contained in:
Luis Carlos Cruz Carballo 2020-11-27 15:01:41 -04:00 committed by Kiyan
parent 565ab1a1bd
commit 7cea298144
2 changed files with 7 additions and 0 deletions

View file

@ -1 +1,6 @@
((comment) @jsdoc)
(call_expression
function: ((identifier) @_name
(#eq? @_name "gql"))
arguments: ((template_string) @graphql))