Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/netail-highlight-subscription.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'vscode-graphql-syntax': patch
---

Add syntax highlighting support for subscription operations.
2 changes: 1 addition & 1 deletion packages/vscode-graphql-syntax/grammars/graphql.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
]
},
"graphql-query-mutation": {
"match": "\\s*\\b(query|mutation)\\b",
"match": "\\s*\\b(query|subscription|mutation)\\b",
"captures": {
"1": { "name": "keyword.operation.graphql" }
}
Expand Down