feat: animate toggle

This commit is contained in:
Folke Lemaitre 2024-07-15 15:07:56 +02:00
parent 4ca9cb6a1c
commit 50b3050d30
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -14,6 +14,16 @@ return {
end, { expr = true }) end, { expr = true })
end end
LazyVim.toggle.map("<leader>ua", {
name = "Mini Animate",
get = function()
return not vim.g.minianimate_disable
end,
set = function(state)
vim.g.minianimate_disable = not state
end,
})
local animate = require("mini.animate") local animate = require("mini.animate")
return { return {
resize = { resize = {