summaryrefslogtreecommitdiffstats
path: root/.config/nvim/plugin/50-highlight.lua
diff options
context:
space:
mode:
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.