Add 'bold' value for g:solarized_diffmode.

This commit is contained in:
Lifepillar
2016-12-11 20:14:00 +01:00
parent c801e4e553
commit 769661a1fa
10 changed files with 56 additions and 73 deletions

View File

@@ -417,18 +417,16 @@ for s:solarized_background in ["dark", "light"]
call s:put(" hi! DiffChange" .s:fmt_undr .s:fg_yellow .s:bg_none .s:sp_yellow)
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(' if has("gui_running")')
call s:put('elseif get(g:, "solarized_diffmode", "") == "bold"')
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("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")
" Changed by Lifepillar: set s:bg_none for SignColumn:
call s:put("hi! SignColumn" .s:fmt_none .s:fg_base0 .s:bg_none)