summaryrefslogtreecommitdiff
path: root/dot_config
diff options
context:
space:
mode:
authorIbrahim Muftee <ibrahim@muftee.net>2024-04-17 10:42:18 -0500
committerIbrahim Muftee <ibrahim@muftee.net>2026-07-01 00:23:31 -0400
commit40b380d73eb198b09f74af3a42b9b20c978ac6a4 (patch)
treed6d41a0352f08b5e7c368a257c9981df7c58129a /dot_config
parent11640d2dc011cc55ceec15464f1d9114a35b0d01 (diff)
refactor(nvim): rename commenter to mini
Diffstat (limited to 'dot_config')
-rw-r--r--dot_config/nvim/lua/plugins/commenter.lua11
-rw-r--r--dot_config/nvim/lua/plugins/mini.lua8
2 files changed, 8 insertions, 11 deletions
diff --git a/dot_config/nvim/lua/plugins/commenter.lua b/dot_config/nvim/lua/plugins/commenter.lua
deleted file mode 100644
index cdc88fe..0000000
--- a/dot_config/nvim/lua/plugins/commenter.lua
+++ /dev/null
@@ -1,11 +0,0 @@
-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,
-}
diff --git a/dot_config/nvim/lua/plugins/mini.lua b/dot_config/nvim/lua/plugins/mini.lua
new file mode 100644
index 0000000..dd1247f
--- /dev/null
+++ b/dot_config/nvim/lua/plugins/mini.lua
@@ -0,0 +1,8 @@
+return {
+ 'echasnovski/mini.nvim',
+ version = false,
+ config = function(_, opts)
+ -- Commenter
+ require("mini.comment").setup(opts)
+ end,
+}