diff --git a/.config/nvim/lua/plugin/comment.lua b/.config/nvim/lua/plugin/comment.lua deleted file mode 100644 index 9c3ca2e..0000000 --- a/.config/nvim/lua/plugin/comment.lua +++ /dev/null @@ -1,21 +0,0 @@ --- Author : swytch --- Created : Sunday Jan. 29, 2023 00:20:31 CET --- License : GPLv3 --- Description : Mini.comment plugin config file - -return { - "echasnovski/mini.comment", - version = "*", - opts = { - mappings = { - comment = "c", - - comment_line = "", - - text_object = "gc", - }, - }, - config = function(_, opts) - require("mini.comment").setup(opts) - end, -} diff --git a/.config/nvim/lua/plugin/editor.lua b/.config/nvim/lua/plugin/editor.lua new file mode 100644 index 0000000..51a04c1 --- /dev/null +++ b/.config/nvim/lua/plugin/editor.lua @@ -0,0 +1,28 @@ +-- Author : swytch +-- Created : Sunday Jan. 29, 2023 00:20:31 CET +-- License : GPLv3 +-- Description : Mini.comment plugin config file + +return { + { + "echasnovski/mini.comment", + version = "*", + opts = { + mappings = { + comment = "c", + + comment_line = "", + + text_object = "gc", + }, + }, + config = function(_, opts) + require("mini.comment").setup(opts) + end + }, + { + "echasnovski/mini.pairs", + version = "*", + config = function() require("mini.pairs").setup() end, + } +}