From 2cd37e37cef63694094e386e5eea987d2a52ca8f Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Fri, 19 Jun 2026 16:01:23 +0200 Subject: misc(nvim): improve closed folds visibility --- plugin/50-highlight.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin') diff --git a/plugin/50-highlight.lua b/plugin/50-highlight.lua index 1daba82..bb08f1d 100644 --- a/plugin/50-highlight.lua +++ b/plugin/50-highlight.lua @@ -31,6 +31,9 @@ local function adjust_solarized_highlights() vim.api.nvim_set_hl(0, "TabLineSel", { fg = colors.yellow, bold = true, update = true }) -- Todo hl group vim.api.nvim_set_hl(0, "Todo", { bg = "Yellow", fg = "Black", bold = true }) + -- Fold lines being the same color as the cursor line (default) make unfocused windows unreadable + -- Their background is set to blend in, the folds are visible enough with their dotted lines + vim.api.nvim_set_hl(0, "Folded", { bg = normal_bg, underline = true, update = true }) end -- Adjust highlights to fit my personal tastes. -- cgit v1.3.1