Skip to content

Commit

Permalink
Add missing endCaptures to new rule
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Jan 26, 2024
1 parent 81e15a0 commit 7858ec1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions packages/vscode-graphql-syntax/grammars/graphql.js.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"name": "punctuation.definition.string.template.begin.js"
}
},
"endCaptures": {
"0": {
"name": "punctuation.definition.string.template.end.js"
}
},
"patterns": [
{
"include": "source.graphql"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ something | meta.embedded.block.graphql meta.select
} | meta.embedded.block.graphql meta.selectionset.graphql meta.selectionset.graphql punctuation.operation.graphql
| meta.embedded.block.graphql meta.selectionset.graphql
} | meta.embedded.block.graphql meta.selectionset.graphql punctuation.operation.graphql
\` | meta.embedded.block.graphql
\` | meta.embedded.block.graphql punctuation.definition.string.template.end.js
) |
; |
|
Expand Down Expand Up @@ -171,7 +171,7 @@ id | meta.embedded.block.graphql meta.select
| meta.embedded.block.graphql meta.selectionset.graphql
} | meta.embedded.block.graphql meta.selectionset.graphql punctuation.operation.graphql
| meta.embedded.block.graphql
' | meta.embedded.block.graphql
' | meta.embedded.block.graphql punctuation.definition.string.template.end.js
) |
; |
|
Expand Down Expand Up @@ -467,7 +467,7 @@ query | meta.embedded.block.graphql keyword.operation.
id | meta.embedded.block.graphql meta.selectionset.graphql variable.graphql
| meta.embedded.block.graphql meta.selectionset.graphql
} | meta.embedded.block.graphql meta.selectionset.graphql punctuation.operation.graphql
' | meta.embedded.block.graphql
' | meta.embedded.block.graphql punctuation.definition.string.template.end.js
) |
; |
|
Expand All @@ -482,7 +482,7 @@ query | meta.embedded.block.graphql keyword.operation.
id | meta.embedded.block.graphql meta.selectionset.graphql variable.graphql
| meta.embedded.block.graphql meta.selectionset.graphql
} | meta.embedded.block.graphql meta.selectionset.graphql punctuation.operation.graphql
' | meta.embedded.block.graphql
' | meta.embedded.block.graphql punctuation.definition.string.template.end.js
) |
; |
|
Expand All @@ -497,7 +497,7 @@ query | meta.embedded.block.graphql keyword.operation.
id | meta.embedded.block.graphql meta.selectionset.graphql variable.graphql
| meta.embedded.block.graphql meta.selectionset.graphql
} | meta.embedded.block.graphql meta.selectionset.graphql punctuation.operation.graphql
' | meta.embedded.block.graphql
' | meta.embedded.block.graphql punctuation.definition.string.template.end.js
) |
; |
|
Expand Down

0 comments on commit 7858ec1

Please sign in to comment.