snacks.nvim icon indicating copy to clipboard operation
snacks.nvim copied to clipboard

fix(statuscolumn): use extmarks cursorline hl

Open minusfive opened this issue 1 month ago • 3 comments

Description

Statuscolumn snack swallows the cursorline_hl_group on extmarks, causing defined cursorline highlights to break.

Related Issue(s)

TBD (searching...)

Screenshots

With appropriate GitSigns highlights defined on theme, e.g.:

-- plugin spec
{
  "lewis6991/gitsigns.nvim",
  opts = {
    culhl = true,
  },
},

--- Catppuccin
{
  GitSignsAddCul = { bg = colors.mantle, fg = colors.green },
  GitSignsChangeCul = { bg = colors.mantle, fg = colors.yellow },
  GitSignsDeleteCul = { bg = colors.mantle, fg = colors.red },
}

Before

Screenshot 2025-01-17 at 01 34 56

After

Screenshot 2025-01-17 at 01 35 06

minusfive avatar Jan 17 '25 06:01 minusfive