mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 04:50:04 +08:00
parent
4703989921
commit
e5f6b527b4
@ -77,7 +77,7 @@ function! s:self.hide_in_normal(name) abort
|
||||
if empty(group)
|
||||
return
|
||||
endif
|
||||
if &termguicolors || has('gui_running')
|
||||
if (exists('+termguicolors') && &termguicolors ) || has('gui_running')
|
||||
let bg = self.group2dict('Normal').guibg
|
||||
if empty(bg)
|
||||
return
|
||||
|
@ -169,7 +169,7 @@ function! s:toggle_end_of_buffer() abort
|
||||
endif
|
||||
let s:ebflag = 1
|
||||
else
|
||||
if &termguicolors || has('gui_running')
|
||||
if (exists('+termguicolors') && &termguicolors) || has('gui_running')
|
||||
let normalbg = s:HI.group2dict('Normal').guibg
|
||||
else
|
||||
let normalbg = s:HI.group2dict('Normal').ctermbg
|
||||
|
Loading…
Reference in New Issue
Block a user