mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-17 07:43:42 -05:00
Fix #25: Statusline visibility on urxvt
This commit is contained in:
@@ -104,13 +104,13 @@ function! s:tranquilize()
|
|||||||
\ 'StatusLine', 'StatusLineNC', 'SignColumn']
|
\ 'StatusLine', 'StatusLineNC', 'SignColumn']
|
||||||
" -1 on Vim / '' on GVim
|
" -1 on Vim / '' on GVim
|
||||||
if bg == -1 || empty(bg)
|
if bg == -1 || empty(bg)
|
||||||
call s:set_color(grp, '', 'NONE')
|
|
||||||
call s:set_color(grp, 'fg', get(g:, 'goyo_bg', 'black'))
|
call s:set_color(grp, 'fg', get(g:, 'goyo_bg', 'black'))
|
||||||
call s:set_color(grp, 'bg', 'NONE')
|
call s:set_color(grp, 'bg', 'NONE')
|
||||||
else
|
else
|
||||||
call s:set_color(grp, 'fg', bg)
|
call s:set_color(grp, 'fg', bg)
|
||||||
call s:set_color(grp, 'bg', bg)
|
call s:set_color(grp, 'bg', bg)
|
||||||
endif
|
endif
|
||||||
|
call s:set_color(grp, '', 'NONE')
|
||||||
endfor
|
endfor
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user