1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:40:05 +08:00

Ignore warnning msg

This commit is contained in:
wsdjeg 2017-06-11 20:54:12 +08:00
parent 3cf2dad981
commit 27406f4fa9

View File

@ -70,10 +70,16 @@ function! s:self.hide_in_normal(name) abort
endif
if &termguicolors || has('gui_running')
let bg = self.group2dict('Normal').guibg
if empty(bg)
return
endif
let group.guifg = bg
let group.guibg = bg
else
let bg = self.group2dict('Normal').ctermbg
if empty(bg)
return
endif
let group.ctermfg = bg
let group.ctermbg = bg
endif