From 56f40864497b5e3860148c10ef531ccff745d81a Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Thu, 30 Jul 2020 10:58:08 -0600 Subject: [PATCH] Make a best guess at the LSP language to use --- backend/src/test-runner.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/test-runner.ts b/backend/src/test-runner.ts index edd4ae4..ec95305 100644 --- a/backend/src/test-runner.ts +++ b/backend/src/test-runner.ts @@ -452,7 +452,8 @@ class Test { params: { textDocument: { uri: `file://${root}/${this.config.main}`, - languageId: "python", // FIXME + languageId: + this.config.lsp!.lang || this.config.monacoLang || "plaintext", version: 1, text: code, },