Skip to content

Commit

Permalink
fix: remove the ruby tm grammar for the reccomended ruby-lsp graphql …
Browse files Browse the repository at this point in the history
…support (#3592)
  • Loading branch information
acao committed May 1, 2024
1 parent 29e99a8 commit 5e52108
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 135 deletions.
5 changes: 5 additions & 0 deletions .changeset/metal-mayflies-occur.md
@@ -0,0 +1,5 @@
---
'vscode-graphql-syntax': patch
---

Remove ruby support for code highlighting, users should use `ruby-lsp` for graphql highlighting instead!
23 changes: 0 additions & 23 deletions packages/vscode-graphql-syntax/grammars/graphql.rb.json

This file was deleted.

11 changes: 0 additions & 11 deletions packages/vscode-graphql-syntax/package.json
Expand Up @@ -136,17 +136,6 @@
"embeddedLanguages": {
"meta.embedded.block.graphql": "graphql"
}
},
{
"injectTo": [
"source.ruby",
"text.html.markdown"
],
"scopeName": "inline.graphql.rb",
"path": "./grammars/graphql.rb.json",
"embeddedLanguages": {
"meta.embedded.block.graphql": "graphql"
}
}
]
},
Expand Down
11 changes: 0 additions & 11 deletions packages/vscode-graphql-syntax/tests/__fixtures__/test.md
Expand Up @@ -37,14 +37,3 @@ type Example {
GRAPHQL;
?>
```

```ruby
it "Should delimit queries" do
query3 = <<~'GRAPHQL'
{
datasets(q: { idEq: 3 }) { id, daylight }
}
GRAPHQL
end

```
22 changes: 0 additions & 22 deletions packages/vscode-graphql-syntax/tests/__fixtures__/test.rb

This file was deleted.

Expand Up @@ -65,17 +65,6 @@ Example |
} |
GRAPHQL; |
?> |
\`\`\` |
|
\`\`\`ruby |
it "Should delimit queries" do |
query3 = <<~'GRAPHQL' |
{ |
datasets(q: { idEq: 3 }) { id, daylight } |
} |
GRAPHQL |
end |
|
\`\`\` |
|
`;
Expand Down

This file was deleted.

10 changes: 0 additions & 10 deletions packages/vscode-graphql-syntax/tests/ruby-grammar.spec.ts

This file was deleted.

0 comments on commit 5e52108

Please sign in to comment.