Fix method called before initialize (#667)
wait for init in onInitialize before sending response to the client, so that client won't try to do request before the lsp handlers are registered.master
parent
d4ee4b4bcc
commit
0a900b9bf6
|
@ -2249,7 +2249,7 @@ connection.onInitialize(async (params: InitializeParams): Promise<InitializeResu
|
|||
}
|
||||
}
|
||||
|
||||
tw.init()
|
||||
await tw.init()
|
||||
|
||||
return {
|
||||
capabilities: {
|
||||
|
|
Loading…
Reference in New Issue