You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- lazy.nvim
{
"folke/snacks.nvim",
---@typesnacks.Configopts= {
statuscolumn= {
-- your statuscolumn configuration comes here-- or leave it empty to use the default settings-- refer to the configuration section below
}
}
}
⚙️ Config
---@classsnacks.statuscolumn.Config---@fieldleftsnacks.statuscolumn.Components---@fieldrightsnacks.statuscolumn.Components---@fieldenabled? boolean
{
left= { "mark", "sign" }, -- priority of signs on the left (high to low)right= { "fold", "git" }, -- priority of signs on the right (high to low)folds= {
open=false, -- show open fold iconsgit_hl=false, -- use Git Signs hl for fold icons
},
git= {
-- patterns to match Git signspatterns= { "GitSign", "MiniDiffSign" },
},
refresh=50, -- refresh at most every 50ms
}
📚 Types
---@classsnacks.statuscolumn.FoldInfo---@fieldstartnumber Line number where deepest fold starts---@fieldlevelnumber Fold level, when zero other fields are N/A---@fieldllevelnumber Lowest level that starts in v:lnum---@fieldlinesnumber Number of lines from v:lnum to end of closed fold