Skip to content

Commit

Permalink
feat: add support for GraphQL
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored and nhedger committed Jul 17, 2024
1 parent b1d7142 commit 2374781
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"onLanguage:vue",
"onLanguage:astro",
"onLanguage:svelte",
"onLanguage:css"
"onLanguage:css",
"onLanguage:graphql"
],
"main": "./out/main.js",
"homepage": "https://github.com/biomejs/biome-vscode",
Expand Down Expand Up @@ -121,8 +122,8 @@
"build": "bun run compile --minify && bun run package",
"install-extension": "code --install-extension biome_lsp.vsix --force",
"format": "biome format . --write",
"check": "biome check .",
"check:apply": "biome check . --apply-unsafe",
"check": "biome check",
"check:apply": "biome check --write --unsafe",
"pack:dev": "bun run compile && bun run package && bun run install-extension",
"tsc": "tsc",
"changelog": "git-cliff --unreleased --prepend CHANGELOG.md"
Expand Down
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ export async function activate(context: ExtensionContext) {
{ language: "svelte", scheme: "untitled" },
{ language: "css", scheme: "file" },
{ language: "css", scheme: "untitled" },
{ language: "graphql", scheme: "file" },
{ language: "graphql", scheme: "untitled" },
];

const clientOptions: LanguageClientOptions = {
Expand Down

0 comments on commit 2374781

Please sign in to comment.