aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael <glephunter@gmail.com>2022-12-04 21:56:04 +0800
committerGitHub <noreply@github.com>2022-12-04 14:56:04 +0100
commit01a8cd0432a272c41e882af96ee8488a4105bd32 (patch)
tree96466b4a18a49e7353d3da61d66c7eb6e8b7b281
parentb866d8d2e7cf4c2f00b1adc997188f1d04c13fa1 (diff)
downloadrneovim-01a8cd0432a272c41e882af96ee8488a4105bd32.tar.gz
rneovim-01a8cd0432a272c41e882af96ee8488a4105bd32.tar.bz2
rneovim-01a8cd0432a272c41e882af96ee8488a4105bd32.zip
fix(lsp): remove workspaceFolders field (#21284)
-rw-r--r--runtime/lua/vim/lsp.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua
index 5bbe4aeba9..9595f0b12c 100644
--- a/runtime/lua/vim/lsp.lua
+++ b/runtime/lua/vim/lsp.lua
@@ -1285,8 +1285,6 @@ function lsp.start_client(config)
client.initialized = true
uninitialized_clients[client_id] = nil
client.workspace_folders = workspace_folders
- -- TODO(mjlbach): Backwards compatibility, to be removed in 0.7
- client.workspaceFolders = client.workspace_folders
-- These are the cleaned up capabilities we use for dynamically deciding
-- when to send certain events to clients.