summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-19 16:01:23 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-19 16:01:23 +0200
commit2cd37e37cef63694094e386e5eea987d2a52ca8f (patch)
tree944013b6c48e8818bd1ce0da95cb97f4c68c0dc5 /plugin
parente47fb7a003def337fa363d8a5b5505671479cb5a (diff)
downloadnvim-config-2cd37e37cef63694094e386e5eea987d2a52ca8f.tar.gz
nvim-config-2cd37e37cef63694094e386e5eea987d2a52ca8f.zip
misc(nvim): improve closed folds visibility
Diffstat (limited to 'plugin')
-rw-r--r--plugin/50-highlight.lua3
1 files changed, 3 insertions, 0 deletions
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.