Start LSP 3.17 support

This commit is contained in:
Jeremy Kolb 2021-02-13 13:54:39 -05:00
parent 425c56aa52
commit 8105418b25
7 changed files with 28 additions and 33 deletions

View file

@ -79,7 +79,7 @@ export function createClient(serverPath: string, cwd: string, extraEnv: Env): lc
return hover;
},
(error) => {
client.handleFailedRequest(lc.HoverRequest.type, error, null);
client.handleFailedRequest(lc.HoverRequest.type, token, error, null);
return Promise.resolve(null);
});
},