diff --git a/lua/rustaceanvim/lsp/init.lua b/lua/rustaceanvim/lsp/init.lua index b4014e1d..06d4bd07 100644 --- a/lua/rustaceanvim/lsp/init.lua +++ b/lua/rustaceanvim/lsp/init.lua @@ -197,7 +197,7 @@ M.start = function(bufnr) removed = {}, }, } - client.rpc.notify('workspace/didChangeWorkspaceFolders', params) + compat.client_notify(client, 'workspace/didChangeWorkspaceFolders', params) if not client.workspace_folders then client.workspace_folders = {} end