Make a best guess at the LSP language to use

This commit is contained in:
Radon Rosborough 2020-07-30 10:58:08 -06:00
parent 4aac4abdde
commit 56f4086449
1 changed files with 2 additions and 1 deletions

View File

@ -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,
},