Oops we need to explicitly start LSP now
This commit is contained in:
parent
9a89d1a14a
commit
399bc90f59
|
@ -288,6 +288,9 @@ class Test {
|
|||
? template.indexOf(after) + after.length
|
||||
: template.length;
|
||||
const code = template.slice(0, idx) + insertedCode + template.slice(idx);
|
||||
this.send({
|
||||
event: "lspStart",
|
||||
});
|
||||
const root = await this.wait("lspStarted message", (msg) => {
|
||||
if (msg.event === "lspStarted") {
|
||||
return msg.root;
|
||||
|
|
Loading…
Reference in New Issue