summaryrefslogtreecommitdiffstats
path: root/.config/nvim/plugin/50-highlight.lua
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
commit3bf9573491863bb047f723f35004d33a4efac3b1 (patch)
tree877618c20db44e464df7963b3362c990af27e206 /.config/nvim/plugin/50-highlight.lua
parenta72de2634468ddca752d95b92924695938577529 (diff)
downloaddotfiles-3bf9573491863bb047f723f35004d33a4efac3b1.tar.gz
dotfiles-3bf9573491863bb047f723f35004d33a4efac3b1.zip
misc(nvim): improve closed folds visibility
Diffstat (limited to '.config/nvim/plugin/50-highlight.lua')
-rw-r--r--.config/nvim/plugin/50-highlight.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/plugin/50-highlight.lua b/.config/nvim/plugin/50-highlight.lua
index 1daba82..bb08f1d 100644
--- a/.config/nvim/plugin/50-highlight.lua
+++ b/.config/nvim/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.