diff --git a/lua/plugins/completions.lua b/lua/plugins/completions.lua index 4235722..0b8a1ed 100644 --- a/lua/plugins/completions.lua +++ b/lua/plugins/completions.lua @@ -33,6 +33,15 @@ if vim.fn.executable('pip') == 1 then 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 table.insert(ensure_installed, 'powershell_es') end