From b65722febea62f84c6b9a2860a4d51d302ea480f Mon Sep 17 00:00:00 2001 From: Nicolas Hedger <649677+nhedger@users.noreply.github.com> Date: Wed, 3 Jan 2024 14:34:44 +0100 Subject: [PATCH] feat: allow formatting and linting of in-memory files (#63) --- src/main.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.ts b/src/main.ts index 91194cb4..d3b7348b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -119,12 +119,12 @@ export async function activate(context: ExtensionContext) { await statusBar.setUsingBundledBiome(server.bundled); const documentSelector: DocumentFilter[] = [ - { language: "javascript", scheme: "file" }, - { language: "typescript", scheme: "file" }, - { language: "javascriptreact", scheme: "file" }, - { language: "typescriptreact", scheme: "file" }, - { language: "json", scheme: "file" }, - { language: "jsonc", scheme: "file" }, + { language: "javascript" }, + { language: "typescript" }, + { language: "javascriptreact" }, + { language: "typescriptreact" }, + { language: "json" }, + { language: "jsonc" }, ]; const clientOptions: LanguageClientOptions = {