chezmoi/dot_config/nvim/lua/plugins/go.lua
kjuulh d224daaa64
Update .config/alacritty/alacritty.yml
Update .config/nvim/lua/config/lazy.lua
Add .config/nvim/lua/plugins/go.lua
Add .config/nvim/lua/plugins/none-ls.lua
Update .config/nvim/lua/plugins/nvim-dap.lua
2023-10-05 21:20:42 +02:00

16 lines
379 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
}