From ba22e0358f1b89d3382e320eed6367f53839d1d5 Mon Sep 17 00:00:00 2001 From: Phil Pluckthun Date: Thu, 25 Jan 2024 02:03:32 +0000 Subject: [PATCH] Fix mistaken reverse order of optional `(` and generic `<.*>` --- packages/vscode-graphql-syntax/grammars/graphql.js.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vscode-graphql-syntax/grammars/graphql.js.json b/packages/vscode-graphql-syntax/grammars/graphql.js.json index 297d4b2623..eaeb93e52d 100644 --- a/packages/vscode-graphql-syntax/grammars/graphql.js.json +++ b/packages/vscode-graphql-syntax/grammars/graphql.js.json @@ -36,7 +36,7 @@ }, { "contentName": "meta.embedded.block.graphql", - "begin": "\\s*+(?:(?:(Relay)\\??\\.)(QL)|(gql|graphql|graphql\\.experimental))\\s*\\(?\\s*(?:<.*>)(`|'|\")", + "begin": "\\s*+(?:(?:(Relay)\\??\\.)(QL)|(gql|graphql|graphql\\.experimental))\\s*(?:<.*>)\\s*\\(?\\s*(`|'|\")", "beginCaptures": { "1": { "name": "variable.other.class.js"