fix(extras.ui.mini-animate): associate toggle keymap with plugin

This commit is contained in:
windowsrefund 2025-03-19 13:26:23 -04:00
parent ec5981dfb1
commit 62e262f0bd
2 changed files with 9 additions and 1 deletions

View file

@ -149,7 +149,6 @@ Snacks.toggle.option("showtabline", { off = 0, on = vim.o.showtabline > 0 and vi
Snacks.toggle.treesitter():map("<leader>uT")
Snacks.toggle.option("background", { off = "light", on = "dark" , name = "Dark Background" }):map("<leader>ub")
Snacks.toggle.dim():map("<leader>uD")
Snacks.toggle.animate():map("<leader>ua")
Snacks.toggle.indent():map("<leader>ug")
Snacks.toggle.scroll():map("<leader>uS")
Snacks.toggle.profiler():map("<leader>dpp")

View file

@ -60,5 +60,14 @@ return {
},
})
end,
keys = {
{
"<leader>ua",
function()
Snacks.toggle.animate()
end,
desc = "Toggle Animation",
},
},
},
}