mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-11 16:26:58 +00:00
Change status line foreground for high contrast.
For some reason, using ctermbg=7 causes the ^^^ symbols to appear in the status line when the high contrast variant is active. That happens both in terminal and in MacVim. Setting the foreground to 15 fixes the problem (that is high contrast anyway).
This commit is contained in:
@@ -266,7 +266,11 @@ for s:solarized_background in ["dark", "light"]
|
||||
call s:put(" hi! StatusLine" .s:fg_base02 .s:bg_base1 .s:fmt_revbb)
|
||||
else
|
||||
if s:solarized_background == "dark"
|
||||
call s:put(" hi! StatusLine" .s:fg_base01 ." ctermbg=7 guibg=#eee8d5" .s:fmt_revbb)
|
||||
if s:solarized_contrast == "high"
|
||||
call s:put(" hi! StatusLine" .s:fg_base01 ." ctermbg=15 guibg=#fdf6e3" .s:fmt_revbb)
|
||||
else
|
||||
call s:put(" hi! StatusLine" .s:fg_base01 ." ctermbg=7 guibg=#eee8d5" .s:fmt_revbb)
|
||||
endif
|
||||
else
|
||||
call s:put(" hi! StatusLine" .s:fg_base01 ." ctermbg=15 guibg=#fdf6e3" .s:fmt_revbb)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user