-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only re-use the same server for multiple workspaces if the server supports it #2324
Only re-use the same server for multiple workspaces if the server supports it #2324
Conversation
seems related to #2287 |
gopls stoped working also |
I don't think so. You can understand it as inserting multiple projects into the workspace instead of having multiple workspaces field.
maybe |
local params = lsp.util.make_workspace_params(
{ { uri = vim.uri_from_fname(root_dir), name = root_dir } },
{ {} }
)
if not client.workspace_folders then
client.workspace_folders = {}
end
table.insert(client.workspace_folders, params.event.added[1])
return client.id I found that u just create a params and did not notify to LSP |
good catch there need trigger |
because I got covid-19 so reset some days then I stop working on neovim . |
let me try to fix this issue, have u bought some painkillers? |
rust-analyzer stopped working for multiple workspaces, this starts multiple processes for it again