feat: add ray-x/go.nvim
Plugin with utility functions like auto tag, auto import, etc
This commit is contained in:
parent
d379339823
commit
4a3419e02e
1 changed files with 10 additions and 0 deletions
10
lua/custom/plugins/go.lua
Normal file
10
lua/custom/plugins/go.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
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"},
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue