2023-10-05 21:20:42 +02:00
|
|
|
return {
|
|
|
|
"ray-x/go.nvim",
|
2024-03-03 13:15:47 +01:00
|
|
|
dependencies = { -- optional packages
|
2023-10-05 21:20:42 +02:00
|
|
|
"ray-x/guihua.lua",
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
},
|
|
|
|
config = function()
|
|
|
|
require("go").setup()
|
|
|
|
end,
|
2024-03-03 13:15:47 +01:00
|
|
|
event = { "CmdlineEnter" },
|
|
|
|
ft = { "go", "gomod" },
|
|
|
|
build = ':lua require("go.install").update_all_sync()', -- if you need to install/update all binaries
|
2023-10-05 21:20:42 +02:00
|
|
|
}
|