Add gopls language server
This commit is contained in:
parent
946d1e7b4a
commit
18d5f5896b
@ -33,6 +33,15 @@ if vim.fn.executable('pip') == 1 then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if vim.fn.executable('go') then
|
||||||
|
local ensure_installed_from_go = {
|
||||||
|
'gopls', -- Go
|
||||||
|
}
|
||||||
|
for _, package in ipairs(ensure_installed_from_go) do
|
||||||
|
table.insert(ensure_installed, package)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
if vim.fn.has('win32') == 1 then
|
if vim.fn.has('win32') == 1 then
|
||||||
table.insert(ensure_installed, 'powershell_es')
|
table.insert(ensure_installed, 'powershell_es')
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user