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
2023-05-13 16:16:05 +02:00
parent 9f2010a8b9
commit bd1ba54d13
3 changed files with 1 additions and 14 deletions

View File

@ -93,9 +93,7 @@ return {
{
"echasnovski/mini.pairs",
event = "VeryLazy",
config = function(_, opts)
require("mini.pairs").setup(opts)
end,
opts = {},
},
-- surround
@ -130,10 +128,6 @@ return {
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
@ -141,7 +135,6 @@ return {
"echasnovski/mini.comment",
event = "VeryLazy",
opts = {},
main = "mini.comment",
},
-- better text-objects