We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4197b5 commit c0dd623Copy full SHA for c0dd623
syntaxes/graphql.json
@@ -28,7 +28,7 @@
28
},
29
"graphql-operation-def": {
30
"patterns": [
31
- { "include": "#graphql-query-mutation" },
+ { "include": "#graphql-operation-type" },
32
{ "include": "#graphql-name" },
33
{ "include": "#graphql-variable-definitions" },
34
{ "include": "#graphql-directive" },
@@ -55,8 +55,8 @@
55
{ "include": "#literal-quasi-embedded" }
56
]
57
58
- "graphql-query-mutation": {
59
- "match": "\\s*\\b(query|mutation)\\b",
+ "graphql-operation-type": {
+ "match": "\\s*\\b(query|mutation|subscription)\\b",
60
"captures": {
61
"1": { "name": "keyword.operation.graphql" }
62
}
0 commit comments