fix(lsp): remove workspaceFolders field (#21284)

This commit is contained in:
Raphael 2022-12-04 21:56:04 +08:00 committed by GitHub
parent b866d8d2e7
commit 01a8cd0432
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.