fix(mini.animate): disable snacks.scroll when mini.animate is enabled

This commit is contained in:
Folke Lemaitre 2024-12-12 07:02:12 +01:00
parent 44c712aa31
commit 9b07544e89

View file

@ -1,7 +1,16 @@
-- animations -- animations
return { return {
-- disable snacks scroll when animate is enabled
{
"snacks.nvim",
opts = {
scroll = { enabled = false },
},
},
-- setup animate
{
"echasnovski/mini.animate", "echasnovski/mini.animate",
recommended = true,
event = "VeryLazy", event = "VeryLazy",
cond = vim.g.neovide == nil, cond = vim.g.neovide == nil,
opts = function(_, opts) opts = function(_, opts)
@ -51,4 +60,5 @@ return {
}, },
}) })
end, end,
},
} }