Skip to content

Commit 5e52108

Browse files
authored
fix: remove the ruby tm grammar for the reccomended ruby-lsp graphql support (#3592)
1 parent 29e99a8 commit 5e52108

File tree

8 files changed

+5
-135
lines changed

8 files changed

+5
-135
lines changed

.changeset/metal-mayflies-occur.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'vscode-graphql-syntax': patch
3+
---
4+
5+
Remove ruby support for code highlighting, users should use `ruby-lsp` for graphql highlighting instead!

packages/vscode-graphql-syntax/grammars/graphql.rb.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

packages/vscode-graphql-syntax/package.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,6 @@
136136
"embeddedLanguages": {
137137
"meta.embedded.block.graphql": "graphql"
138138
}
139-
},
140-
{
141-
"injectTo": [
142-
"source.ruby",
143-
"text.html.markdown"
144-
],
145-
"scopeName": "inline.graphql.rb",
146-
"path": "./grammars/graphql.rb.json",
147-
"embeddedLanguages": {
148-
"meta.embedded.block.graphql": "graphql"
149-
}
150139
}
151140
]
152141
},

packages/vscode-graphql-syntax/tests/__fixtures__/test.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,3 @@ type Example {
3737
GRAPHQL;
3838
?>
3939
```
40-
41-
```ruby
42-
it "Should delimit queries" do
43-
query3 = <<~'GRAPHQL'
44-
{
45-
datasets(q: { idEq: 3 }) { id, daylight }
46-
}
47-
GRAPHQL
48-
end
49-
50-
```

packages/vscode-graphql-syntax/tests/__fixtures__/test.rb

Lines changed: 0 additions & 22 deletions
This file was deleted.

packages/vscode-graphql-syntax/tests/__snapshots__/markdown-grammar.spec.ts.snap

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,6 @@ Example |
6565
} |
6666
GRAPHQL; |
6767
?> |
68-
\`\`\` |
69-
|
70-
\`\`\`ruby |
71-
it "Should delimit queries" do |
72-
query3 = <<~'GRAPHQL' |
73-
{ |
74-
datasets(q: { idEq: 3 }) { id, daylight } |
75-
} |
76-
GRAPHQL |
77-
end |
78-
|
7968
\`\`\` |
8069
|
8170
`;

packages/vscode-graphql-syntax/tests/__snapshots__/ruby-grammar.spec.ts.snap

Lines changed: 0 additions & 47 deletions
This file was deleted.

packages/vscode-graphql-syntax/tests/ruby-grammar.spec.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)