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({
|
2023-06-28 16:19:33 -04:00
|
|
|
options = {
|
|
|
|
border = "both",
|
|
|
|
indent_at_cursor = true,
|
|
|
|
try_as_border = true,
|
|
|
|
},
|
2023-06-20 17:13:50 -04:00
|
|
|
symbol = "│"
|
|
|
|
})
|
|
|
|
require("mini.surround").setup()
|
|
|
|
require("mini.trailspace").setup()
|
|
|
|
|
2023-06-28 16:19:33 -04:00
|
|
|
vim.opt.list = true
|
|
|
|
vim.opt.listchars = "tab:│ "
|
2023-06-20 17:13:50 -04:00
|
|
|
vim.api.nvim_command(":command Bd lua MiniBufremove.delete()")
|
|
|
|
vim.api.nvim_command(":command FixWhitespace lua MiniTrailspace.trim()")
|
|
|
|
end,
|
|
|
|
}
|
|
|
|
}
|