diff --git a/syntaxes/graphql.js.json b/syntaxes/graphql.js.json index eeb9e3e..a66ab31 100644 --- a/syntaxes/graphql.js.json +++ b/syntaxes/graphql.js.json @@ -23,6 +23,28 @@ "patterns": [ { "include": "source.graphql" } ] + }, + { + "name": "taggedTemplates", + "contentName": "meta.embedded.block.graphql", + "begin": "(`)(#graphql)", + "beginCaptures": { + "1": { + "name": "punctuation.definition.string.template.begin.js" + }, + "2": { + "name": "comment.line.graphql.js" + } + }, + "end": "`", + "endCaptures": { + "0": { + "name": "punctuation.definition.string.template.end.js" + } + }, + "patterns": [ + { "include": "source.graphql" } + ] } ], "scopeName": "inline.graphql"