Make a best guess at the LSP language to use
This commit is contained in:
parent
4aac4abdde
commit
56f4086449
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue