Don't attempt to install gopls when go is missing
This commit is contained in:
@@ -33,7 +33,7 @@ if vim.fn.executable('pip') == 1 then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if vim.fn.executable('go') then
|
if vim.fn.executable('go') == 1 then
|
||||||
local ensure_installed_from_go = {
|
local ensure_installed_from_go = {
|
||||||
'gopls', -- Go
|
'gopls', -- Go
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user