fix(mini): lazy now supports mini plugins out of the box. no longer needed to have a custom config

This commit is contained in:
Folke Lemaitre committed 2023-05-13 16:16:10 +02:00
1 parent 9f2010a8b9
commit bd1ba54d13
3 files changed
+1 -14

No files matched your search

+1 -8
View File
@@ -93,9 +93,7 @@ return {
{ {
"echasnovski/mini.pairs", "echasnovski/mini.pairs",
event = "VeryLazy", event = "VeryLazy",
config = function(_, opts) opts = {},
require("mini.pairs").setup(opts)
end,
}, },
-- surround -- surround
@@ -130,10 +128,6 @@ return {
update_n_lines = "gzn", -- Update `n_lines` update_n_lines = "gzn", -- Update `n_lines`
}, },
}, },
config = function(_, opts)
-- use gz mappings instead of s to prevent conflict with leap
require("mini.surround").setup(opts)
end,
}, },
-- comments -- comments
@@ -141,7 +135,6 @@ return {
"echasnovski/mini.comment", "echasnovski/mini.comment",
event = "VeryLazy", event = "VeryLazy",
opts = {}, opts = {},
main = "mini.comment",
}, },
-- better text-objects -- better text-objects
@@ -33,8 +33,5 @@ return {
}, },
} }
end, end,
config = function(_, opts)
require("mini.animate").setup(opts)
end,
}, },
} }
-3
View File
@@ -193,9 +193,6 @@ return {
end, end,
}) })
end, end,
config = function(_, opts)
require("mini.indentscope").setup(opts)
end,
}, },
-- noicer ui -- noicer ui