From 599db7c91d2611c9d92fce45a691ae4640161ca3 Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Thu, 7 Dec 2023 19:38:49 +0800 Subject: [PATCH] disable lsp semantic tokens --- extensions/vscode/src/nodeClientMain.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/vscode/src/nodeClientMain.ts b/extensions/vscode/src/nodeClientMain.ts index 4600c53c05..5feab709fe 100644 --- a/extensions/vscode/src/nodeClientMain.ts +++ b/extensions/vscode/src/nodeClientMain.ts @@ -143,6 +143,9 @@ function updateProviders(client: lsp.LanguageClient) { capabilities.workspace.fileOperations.willRename = undefined; } + // TODO: disalbe for now because this break ts plugin semantic tokens + capabilities.semanticTokensProvider = undefined; + return initializeFeatures.call(client, ...args); }; }