summaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins/goimpl.lua
diff options
context:
space:
mode:
author2026-02-12 18:21:04 +0300
committer2026-02-12 18:21:04 +0300
commit529898343aed91872813833b1fa6bdf688cc4b2e (patch)
treeddde638184214df1873329539a2f8cc794e2ae12 /config/nvim/lua/plugins/goimpl.lua
parentnvim lazy upd (diff)
downloaddotfiles-529898343aed91872813833b1fa6bdf688cc4b2e.tar.gz
dotfiles-529898343aed91872813833b1fa6bdf688cc4b2e.tar.bz2
dotfiles-529898343aed91872813833b1fa6bdf688cc4b2e.tar.xz
dotfiles-529898343aed91872813833b1fa6bdf688cc4b2e.zip
12.02.2026
Diffstat (limited to '')
-rw-r--r--config/nvim/lua/plugins/goimpl.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/config/nvim/lua/plugins/goimpl.lua b/config/nvim/lua/plugins/goimpl.lua
index 9d97fb6..30cb292 100644
--- a/config/nvim/lua/plugins/goimpl.lua
+++ b/config/nvim/lua/plugins/goimpl.lua
@@ -6,7 +6,16 @@ return {
"nvim-telescope/telescope.nvim",
"nvim-treesitter/nvim-treesitter",
},
+ keys = {
+ {
+ "<leader>im",
+ function()
+ require("telescope").extensions.goimpl.goimpl({})
+ end,
+ desc = "Generate stub for interface on a type for golang",
+ },
+ },
config = function()
require("telescope").load_extension("goimpl")
end,
-}
+} \ No newline at end of file