From cb697998cce4d5a50fb1749310147ae16b0d70e6 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 15 Feb 2016 10:40:13 +0900 Subject: [PATCH] Check bg# attribute instead of bg (#92) On GVim: hi StatusLine guibg=red echo synIDattr(synIDtrans(hlID('StatusLine')), 'bg') " red echo synIDattr(synIDtrans(hlID('StatusLine')), 'bg#') " #ff0000 --- autoload/goyo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/goyo.vim b/autoload/goyo.vim index c8f32c3..edacd10 100644 --- a/autoload/goyo.vim +++ b/autoload/goyo.vim @@ -106,7 +106,7 @@ function! s:resize_pads() endfunction function! s:tranquilize() - let bg = s:get_color('Normal', 'bg') + let bg = s:get_color('Normal', 'bg#') for grp in ['NonText', 'FoldColumn', 'ColorColumn', 'VertSplit', \ 'StatusLine', 'StatusLineNC', 'SignColumn'] " -1 on Vim / '' on GVim