-
Notifications
You must be signed in to change notification settings - Fork 58
[BUG] Double Workspace Loaded on Sumneko 2.6.0 #41
Comments
I'm experiencing this too. |
@folke can you check this one out? Because of this, the loading time has increased dramatically. |
I don't really see anything I can do to fix this? Seems like a bug in Sumneko? As far as I can see, there's only one lsp client. |
Thank you for the answer. Downgrading I consider this issue from my side closed, but left the decision to close it to you. |
Hi! warn message in
I'm getting 100% CPU usage and no response from the server. I've also tried it without applying require("lua-dev").setup { lspconfig = M.general } and the warning keeps appearing (I assume it has to do with sumneko_lua) but the CPU usage won't rise... |
The reason for this is LuaLS/lua-language-server#1596 |
Two workspaces are loaded in the newest Sumneko lua server when using lua-dev. I can confirm this does not occur when not using lua-dev in lspconfig.
The effect of loading two workspaces is super slow startup for the lsp, and super slow autocompletes and goto definitions.
The proof of two workspaces loaded can be seen in the screenshot by using
lsp_status
indicator in the status line (the bottom row).This is most likely caused by the new workspaces feature. Can be seen from this compare tag commits.
The text was updated successfully, but these errors were encountered: