mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-11 16:26:58 +00:00
Fix vimdiff colors being mostly grey in some terminals.
Fixes https://github.com/lifepillar/vim-solarized8/issues/6.
This commit is contained in:
@@ -418,10 +418,17 @@ for s:solarized_background in ["dark", "light"]
|
||||
call s:put(" hi! DiffDelete" .s:fmt_bold .s:fg_red .s:bg_none)
|
||||
call s:put(" hi! DiffText" .s:fmt_undr .s:fg_blue .s:bg_none .s:sp_blue)
|
||||
call s:put("else")
|
||||
call s:put(" hi! DiffAdd" .s:fmt_bold .s:fg_green .s:bg_base02 .s:sp_green)
|
||||
call s:put(" hi! DiffChange" .s:fmt_bold .s:fg_yellow .s:bg_base02 .s:sp_yellow)
|
||||
call s:put(" hi! DiffDelete" .s:fmt_bold .s:fg_red .s:bg_base02)
|
||||
call s:put(" hi! DiffText" .s:fmt_bold .s:fg_blue .s:bg_base02 .s:sp_blue)
|
||||
call s:put(' if has("gui_running")')
|
||||
call s:put(" hi! DiffAdd" .s:fmt_bold .s:fg_green .s:bg_base02 .s:sp_green)
|
||||
call s:put(" hi! DiffChange" .s:fmt_bold .s:fg_yellow .s:bg_base02 .s:sp_yellow)
|
||||
call s:put(" hi! DiffDelete" .s:fmt_bold .s:fg_red .s:bg_base02)
|
||||
call s:put(" hi! DiffText" .s:fmt_bold .s:fg_blue .s:bg_base02 .s:sp_blue)
|
||||
call s:put(" else")
|
||||
call s:put(" hi! DiffAdd" .s:fmt_none .s:fg_green .s:bg_base02 .s:sp_green)
|
||||
call s:put(" hi! DiffChange" .s:fmt_none .s:fg_yellow .s:bg_base02 .s:sp_yellow)
|
||||
call s:put(" hi! DiffDelete" .s:fmt_none .s:fg_red .s:bg_base02)
|
||||
call s:put(" hi! DiffText" .s:fmt_none .s:fg_blue .s:bg_base02 .s:sp_blue)
|
||||
call s:put(" endif")
|
||||
call s:put("endif")
|
||||
" Changed by Lifepillar: set s:bg_none for SignColumn:
|
||||
call s:put("hi! SignColumn" .s:fmt_none .s:fg_base0 .s:bg_none)
|
||||
|
||||
Reference in New Issue
Block a user