From c28e79cbc05831b71792cfce3fe7ad8e56c2e5d5 Mon Sep 17 00:00:00 2001 From: Robin Gruyters <2082795+rgruyters@users.noreply.github.com> Date: Fri, 12 Jan 2024 20:38:03 +0100 Subject: [PATCH] chore(highlight): update ibl highligts - revert old highlights for legacy usage - add `IblWhitespace` when highlighting white spaces - add ibl highlights when using transparency --- lua/rose-pine.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua index 66a3185..3deaebd 100644 --- a/lua/rose-pine.lua +++ b/lua/rose-pine.lua @@ -372,6 +372,12 @@ local function set_highlights() -- lukas-reineke/indent-blankline.nvim IblIndent = { fg = palette.overlay }, IblScope = { fg = palette.foam }, + IblWhitespace = { fg = palette.overlay }, + + -- for legacy usage + IndentBlanklineChar = { fg = palette.muted, nocombine = true }, + IndentBlanklineSpaceChar = { fg = palette.muted, nocombine = true }, + IndentBlanklineSpaceCharBlankline = { fg = palette.muted, nocombine = true }, -- hrsh7th/nvim-cmp CmpItemAbbr = { fg = palette.subtle }, @@ -616,6 +622,10 @@ local function set_highlights() TelescopeSelectionCaret = { fg = palette.rose }, WhichKeyFloat = { bg = "NONE" }, + + IblIndent = { fg = palette.overlay, bg = "NONE" }, + IblScope = { fg = palette.foam, bg = "NONE" }, + IblWhitespace = { fg = palette.overlay, bg = "NONE" }, } if styles.transparency then