From ad55a41508c563f308b73fb653331f4c4be7758b Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Sat, 1 Jun 2024 22:43:51 -0500 Subject: feat(nvim): add commenter plugin with mini.nvim --- dot_config/nvim/lua/plugins/commenter.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dot_config/nvim/lua/plugins/commenter.lua (limited to 'dot_config') diff --git a/dot_config/nvim/lua/plugins/commenter.lua b/dot_config/nvim/lua/plugins/commenter.lua new file mode 100644 index 0000000..cdc88fe --- /dev/null +++ b/dot_config/nvim/lua/plugins/commenter.lua @@ -0,0 +1,11 @@ +return { + 'echasnovski/mini.nvim', + version = false, + config = function(_, opts) + -- I'm not sure why this is requireed. I thought Lazy.nvim didn't require the + -- config key if the only line in the function was to call setup(). + -- However, without this key, this plugin fails to load with the error + -- "mini" could not be found + require("mini.comment").setup(opts) + end, +} -- cgit v1.2.3