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: {
|
params: {
|
||||||
textDocument: {
|
textDocument: {
|
||||||
uri: `file://${root}/${this.config.main}`,
|
uri: `file://${root}/${this.config.main}`,
|
||||||
languageId: "python", // FIXME
|
languageId:
|
||||||
|
this.config.lsp!.lang || this.config.monacoLang || "plaintext",
|
||||||
version: 1,
|
version: 1,
|
||||||
text: code,
|
text: code,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue