Skip to content

Commit

Permalink
Fix comment blocks (#4001)
Browse files Browse the repository at this point in the history
Summary:
Without this definition, VSCode doesn't recognize the embedded language inside of a JS file. It only does syntax highlighting, nothing more.

Fixes #3998 (comment)

Pull Request resolved: #4001

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

**Static Docs Preview: relay**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D37660496/V5/relay/)|

|**Modified Pages**|

Reviewed By: josephsavona

Differential Revision: D37660496

Pulled By: captbaritone

fbshipit-source-id: 868a839b4ce56f68962b0f1f84c30121d4ba6a9a
  • Loading branch information
tbezman authored and facebook-github-bot committed Jul 7, 2022
1 parent 3cfc85f commit 055908f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vscode-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "relay",
"displayName": "Relay GraphQL",
"version": "1.0.2",
"version": "1.1.0",
"description": "Relay-powered IDE experience",
"repository": {
"type": "git",
Expand Down Expand Up @@ -52,7 +52,10 @@
"source.tsx"
],
"scopeName": "inline.graphql",
"path": "./grammars/graphql.js.json"
"path": "./grammars/graphql.js.json",
"embeddedLanguages": {
"meta.embedded.block.graphql": "graphql"
}
}
],
"commands": [
Expand Down

0 comments on commit 055908f

Please sign in to comment.