chezmoi/dot_config/nvim/lua/plugins/go.lua
kjuulh b57eaa435a
Add .config/nvim/.luarc.json
Update .config/nvim/lazyvim.json
Update .config/nvim/lua/config/lazy.lua
Update .config/nvim/lua/plugins/copilot.lua
Update .config/nvim/lua/plugins/go.lua
Update .config/nvim/lua/plugins/nvim-cmp.lua
Add .config/nvim/lua/plugins/sourcegraph-copilot.lua
2024-03-03 13:15:47 +01:00

15 lines
382 B
Lua

return {
"ray-x/go.nvim",
dependencies = { -- optional packages
"ray-x/guihua.lua",
"neovim/nvim-lspconfig",
"nvim-treesitter/nvim-treesitter",
},
config = function()
require("go").setup()
end,
event = { "CmdlineEnter" },
ft = { "go", "gomod" },
build = ':lua require("go.install").update_all_sync()', -- if you need to install/update all binaries
}