Skip to content

Commit

Permalink
feat: add with-parenthese gql calls support
Browse files Browse the repository at this point in the history
  • Loading branch information
Chnapy committed Jun 16, 2022
1 parent ba26b43 commit 76a5357
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vscode-graphql/grammars/graphql.js.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"patterns": [
{
"contentName": "meta.embedded.block.graphql",
"begin": "\\s*+(?:(?:(Relay)\\??\\.)(QL)|(gql|graphql|graphql\\.experimental)|(/\\* GraphQL \\*/))\\s*(`)",
"begin": "\\s*+(?:(?:(Relay)\\??\\.)(QL)|(gql|graphql|graphql\\.experimental)|(/\\* GraphQL \\*/))\\s*\\(?\\s*(`)",
"beginCaptures": {
"1": {
"name": "variable.other.class.js"
Expand Down Expand Up @@ -44,7 +44,7 @@
},
{
"contentName": "meta.embedded.block.graphql",
"begin": "\\s*+(?:(?:(Relay)\\??\\.)(QL)|(gql|graphql|graphql\\.experimental))\\s*(?:<.*>)(`)",
"begin": "\\s*+(?:(?:(Relay)\\??\\.)(QL)|(gql|graphql|graphql\\.experimental))\\s*\\(?\\s*(?:<.*>)(`)",
"beginCaptures": {
"1": {
"name": "variable.other.class.js"
Expand Down

0 comments on commit 76a5357

Please sign in to comment.