Add animation durations to make them a bit faster

This commit is contained in:
Tony Blyler 2023-06-20 17:30:49 -04:00
parent f202c025c0
commit 3144a74452

View file

@ -2,7 +2,24 @@ return {
{ {
"echasnovski/mini.nvim", "echasnovski/mini.nvim",
config = function() config = function()
require("mini.animate").setup() 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" })
},
})
require("mini.bufremove").setup() require("mini.bufremove").setup()
require("mini.comment").setup() require("mini.comment").setup()
require("mini.completion").setup() require("mini.completion").setup()