(Re)add support for transparent bg in terminals.

This commit is contained in:
Lifepillar
2016-09-06 11:02:49 +02:00
parent 72c6acc08b
commit 903883a4c2
10 changed files with 48 additions and 10 deletions

View File

@@ -155,7 +155,11 @@ for s:solarized_background in ["dark", "light"]
"}}}
call s:put("hi! Normal" .s:fmt_none .s:fg_base0 .s:bg_back)
call s:put("if !has('gui_running') && get(g:, 'solarized_termtrans', 0)")
call s:put(" hi! Normal" .s:fmt_none .s:fg_base0 .s:bg_none)
call s:put("else")
call s:put(" hi! Normal" .s:fmt_none .s:fg_base0 .s:bg_back)
call s:put("endif")
" Basic highlighting"{{{
" ---------------------------------------------------------------------