nvim: lsp's load properly now?

This commit is contained in:
PowerUser64 2021-11-20 21:02:54 -08:00
parent adf7c00b82
commit c8c6dec89f

View file

@ -210,7 +210,7 @@ M.lspconfig = function()
bashls = 'bash-language-server',
}
for lsp, exe in pairs(lsp_servers) do
if (vim.fn.executable(exe)) then
if (vim.fn.executable(exe) == 1) then
nvim_lsp[lsp].setup {
on_attach = on_attach,
flags = {