This commit is contained in:
Lukas Wirth 2022-07-23 00:14:34 +02:00
parent 84a6fac37a
commit f1b5e38563
4 changed files with 30 additions and 3983 deletions

File diff suppressed because it is too large Load diff

View file

@ -37,7 +37,7 @@
"dependencies": {
"d3": "^7.6.1",
"d3-graphviz": "^4.1.1",
"vscode-languageclient": "^8.0.1"
"vscode-languageclient": "^8.0.0-next.14"
},
"devDependencies": {
"@types/node": "~16.11.7",

View file

@ -261,10 +261,6 @@ export async function createClient(
}
class ExperimentalFeatures implements lc.StaticFeature {
getState(): lc.FeatureState {
return { kind: "static" };
}
fillClientCapabilities(capabilities: lc.ClientCapabilities): void {
const caps: any = capabilities.experimental ?? {};
caps.snippetTextEdit = true;

View file

@ -42,7 +42,8 @@ export class Ctx {
const res = new Ctx(config, extCtx, client, serverPath, statusBar);
await client.start();
res.pushCleanup(client.start());
await client.onReady();
client.onNotification(ra.serverStatus, (params) => res.setServerStatus(params));
return res;
}