41 lines
795 B
Lua
41 lines
795 B
Lua
require('snacks').setup({
|
|
notifier = {
|
|
enabled = true,
|
|
},
|
|
animate = { enabled = true },
|
|
input = { enabled = true },
|
|
picker = {
|
|
enabled = true,
|
|
prompt = ' ',
|
|
|
|
icons = {
|
|
ui = {
|
|
selected = ' ',
|
|
},
|
|
},
|
|
},
|
|
dim = {
|
|
scope = {
|
|
min_size = 3, -- Lower minimum so short loops/branches don't get ignored
|
|
max_size = 40, -- Allow slightly larger blocks (functions/structs) to stay lit
|
|
siblings = false, -- Set to false so only the exact active scope is highlighted
|
|
},
|
|
animate = {
|
|
enabled = vim.fn.has('nvim-0.10') == 1,
|
|
easing = 'outCubic',
|
|
duration = {
|
|
step = 15, -- ms per step
|
|
total = 180, -- maximum duration
|
|
},
|
|
},
|
|
},
|
|
zen = {
|
|
enabled = true,
|
|
toggles = {
|
|
dim = true,
|
|
diagnostics = true,
|
|
inlay_hints = false,
|
|
},
|
|
},
|
|
})
|