Don't attempt to install gopls when go is missing

This commit is contained in:
Kenneth Benzie 2025-05-20 15:48:29 +01:00
parent 09534cf74c
commit fee0736439

View File

@ -33,7 +33,7 @@ if vim.fn.executable('pip') == 1 then
end
end
if vim.fn.executable('go') then
if vim.fn.executable('go') == 1 then
local ensure_installed_from_go = {
'gopls', -- Go
}