2023-06-20 17:13:50 -04:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"echasnovski/mini.nvim",
|
|
|
|
config = function()
|
2023-06-20 17:30:49 -04:00
|
|
|
local animate = require("mini.animate")
|
|
|
|
animate.setup({
|
|
|
|
cursor = {
|
|
|
|
timing = animate.gen_timing.linear({ duration = 100, unit = "total" })
|
|
|
|
},
|
|
|
|
scroll = {
|
|
|
|
timing = animate.gen_timing.linear({ duration = 100, unit = "total" })
|
|
|
|
},
|
|
|
|
resize = {
|
|
|
|
timing = animate.gen_timing.linear({ duration = 100, unit = "total" })
|
|
|
|
},
|
|
|
|
open = {
|
|
|
|
timing = animate.gen_timing.linear({ duration = 100, unit = "total" })
|
|
|
|
},
|
|
|
|
close = {
|
|
|
|
timing = animate.gen_timing.linear({ duration = 100, unit = "total" })
|
|
|
|
},
|
|
|
|
})
|
2023-06-20 17:13:50 -04:00
|
|
|
require("mini.bufremove").setup()
|
|
|
|
require("mini.comment").setup()
|
|
|
|
require("mini.completion").setup()
|
|
|
|
require("mini.cursorword").setup()
|
|
|
|
require("mini.indentscope").setup({
|
|
|
|
symbol = "│"
|
|
|
|
})
|
|
|
|
require("mini.surround").setup()
|
|
|
|
require("mini.trailspace").setup()
|
|
|
|
|
|
|
|
vim.api.nvim_command(":command Bd lua MiniBufremove.delete()")
|
|
|
|
vim.api.nvim_command(":command FixWhitespace lua MiniTrailspace.trim()")
|
|
|
|
end,
|
|
|
|
}
|
|
|
|
}
|