mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-06 23:44:41 +02:00
feat: animate toggle
This commit is contained in:
parent
4ca9cb6a1c
commit
50b3050d30
1 changed files with 10 additions and 0 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue