mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(mini.animate): disable snacks.scroll
when mini.animate
is enabled
This commit is contained in:
parent
44c712aa31
commit
9b07544e89
1 changed files with 58 additions and 48 deletions
|
@ -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,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue