nvim/lua/custom/plugins/go.lua
Simon Lasbrugnas 4a3419e02e
feat: add ray-x/go.nvim
Plugin with utility functions like auto tag, auto import, etc
2024-12-06 23:17:40 +01:00

10 lines
281 B
Lua

return {
"ray-x/go.nvim",
event = "VeryLazy",
opts = {},
keys = {
{ "<leader>goa", "<cmd>GoAddTag<CR>", desc = "Add struct tags"},
{ "<leader>gor", "<cmd>GoRmTag<CR>", desc = "Remove struct tags"},
{ "<leader>got", "<cmd>GoAddAllTest<CR>", desc = "Add all tests"},
},
}