From 4a3419e02e6ea99aaf49984be75d44cb2b2ed785 Mon Sep 17 00:00:00 2001 From: Simon Lasbrugnas Date: Fri, 6 Dec 2024 23:02:23 +0100 Subject: [PATCH] feat: add ray-x/go.nvim Plugin with utility functions like auto tag, auto import, etc --- lua/custom/plugins/go.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lua/custom/plugins/go.lua diff --git a/lua/custom/plugins/go.lua b/lua/custom/plugins/go.lua new file mode 100644 index 0000000..54417f9 --- /dev/null +++ b/lua/custom/plugins/go.lua @@ -0,0 +1,10 @@ +return { + "ray-x/go.nvim", + event = "VeryLazy", + opts = {}, + keys = { + { "goa", "GoAddTag", desc = "Add struct tags"}, + { "gor", "GoRmTag", desc = "Remove struct tags"}, + { "got", "GoAddAllTest", desc = "Add all tests"}, + }, +}