Skip to content

Commit

Permalink
fix regex for ruby heredoc (#78)
Browse files Browse the repository at this point in the history
* fix regex for ruby heredoc

* chore: add changeset

---------

Co-authored-by: Alessia Bellisario <[email protected]>
  • Loading branch information
jtgrenz and alessbell authored Oct 16, 2023
1 parent 43879da commit 8b02374
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/nice-hats-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vscode-apollo": patch
---

Fix regex for ruby heredoc
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
release:
name: Changesets Release
# Prevents action from creating a PR on forks
if: github.repository == 'apollographql/vscode-apollo'
if: github.repository == 'apollographql/vscode-graphql'
runs-on: ubuntu-latest
# Permissions necessary for Changesets to push a new branch and open PRs
# (for automated Version Packages PRs), and request the JWT for provenance.
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/graphql.rb.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"patterns": [
{
"contentName": "meta.embedded.block.graphql",
"begin": "(?=(?><<[-~](['\"]?)((?:[_\\w]+_|)GRAPHQL)\\b\\1))",
"begin": "(?><<[-~](['\"`]?)((?:[_\\w]+_|)GRAPHQL)\\b\\1)",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.ruby"
Expand Down

0 comments on commit 8b02374

Please sign in to comment.