Add animation durations to make them a bit faster
This commit is contained in:
parent
f202c025c0
commit
3144a74452
1 changed files with 18 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue