So color, much theme

This commit is contained in:
Maximilian Friedersdorff 2025-10-02 17:14:11 +01:00
parent b07172688d
commit 1a47d7aef2
7 changed files with 142 additions and 27 deletions

View file

@ -16,11 +16,23 @@ return {
what = 'permalink',
},
lazygit = { enabled = true },
dim = { enabled = true },
dim = {
scope = {
siblings = true,
min_size = 10,
max_size = 20,
},
animate = {
enabled = true,
easing = 'outQuad',
duration = {
step = 20,
total = 150,
},
},
},
toggle = { enabled = true },
},
init = function()
require('snacks').dim()
end,
keys = {
{
@ -50,6 +62,15 @@ return {
desc = 'Lazy[g]it (Root Dir)',
},
},
init = function()
vim.api.nvim_create_autocmd('User', {
pattern = 'VeryLazy',
callback = function()
Snacks.toggle.dim():map '<leader>td'
Snacks.toggle.zen():map '<leader>tz'
end,
})
end,
},
}