summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/goimpl.lua
diff options
context:
space:
mode:
author2025-05-02 16:05:47 +0300
committer2025-05-02 16:05:47 +0300
commit446d2716e7bb83e58fb516ec27e5c7750069e98c (patch)
tree3e2bdee9d79cf8495fde84a559d2b05bf7ca45b8 /nvim/lua/plugins/goimpl.lua
parentСделал кейбинды (diff)
downloaddotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.tar.gz
dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.tar.bz2
dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.tar.xz
dotfiles-446d2716e7bb83e58fb516ec27e5c7750069e98c.zip
Перешел на lazy nvim, навел порядок в плагинах
Diffstat (limited to 'nvim/lua/plugins/goimpl.lua')
-rw-r--r--nvim/lua/plugins/goimpl.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/nvim/lua/plugins/goimpl.lua b/nvim/lua/plugins/goimpl.lua
new file mode 100644
index 0000000..0b906fa
--- /dev/null
+++ b/nvim/lua/plugins/goimpl.lua
@@ -0,0 +1,21 @@
+return {
+ "edolphin-ydf/goimpl.nvim",
+ dependencies = {
+ "nvim-lua/plenary.nvim",
+ "nvim-lua/popup.nvim",
+ "nvim-telescope/telescope.nvim",
+ "nvim-treesitter/nvim-treesitter",
+ },
+ config = function()
+ require("telescope").load_extension("goimpl")
+ end,
+ keys = {
+ {
+ "<leader>im",
+ function()
+ require("telescope").extensions.goimpl.goimpl({})
+ end,
+ desc = "Generate stub for interface on a type for golang",
+ },
+ },
+}