snacks.nvim/docs/statuscolumn.md
2024-11-09 14:42:09 +01:00

708 B

🍿 statuscolumn

⚙️ Config

---@class snacks.statuscolumn.Config
{
  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 icons
    git_hl = false, -- use Git Signs hl for fold icons
  },
  git = {
    -- patterns to match Git signs
    patterns = { "GitSign", "MiniDiffSign" },
  },
  refresh = 50, -- refresh at most every 50ms
}

📦 Module

Snacks.statuscolumn()

---@type fun(): string
Snacks.statuscolumn()

Snacks.statuscolumn.get()

---@return string
Snacks.statuscolumn.get()