-
Notifications
You must be signed in to change notification settings - Fork 65
Issue with lspinstall.install_server() #133
Comments
My full config is over here btw - classPythonAddike/NVim-Configuration (If it helps with debugging) 😄 |
Hmm not sure why this is happening. Could you try to wrap this whole code into a function and then manually call it after starting neovim? Does this still happen in this case? |
I tried that, and on running local lsp_servers = { "go", "python", "vue", "svelte", "lua", "vim" }
local installed_servers = lspinstall.installed_servers()
function Make_set(list)
local set = {}
for _, l in ipairs(list)
do
set[l] = true
end
return set
end
function InstallServers()
installed_servers = Make_set(installed_servers)
for _, server in ipairs(lsp_servers)
do
if not installed_servers[server] then
print("Installing LSP Server for " .. server)
lspinstall.install_server(server)
end
end
end When |
Same here. I've just reinstall nvim recently and I can't install without facing this issue about |
I'm not sure, I can't reproduce this, neither with 0.5.0 nor with latest 0.6.0 :/ |
I also tested using stable (I always use nightly) but same problem :/ |
Not sure why, but I re-installed nvim from source and everything seems back to normal (NVIM v0.6.0-dev+132-g7d2233fad) |
Were you also building from source before? |
Nope, I was using nightly AppImage, first time I build it |
I tried to make it simpler to install servers by adding this bit of code to my config -
However, when I open Neovim, but results in a strange error (Even though it installs the lsp server) -
And all the terminal output is messed up after that. I can't find any issues in my code. Is there a bug I am missing?
The text was updated successfully, but these errors were encountered: