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

fix(notify): use nvim_win_set_option instead

This commit is contained in:
wsdjeg 2022-04-10 22:52:02 +08:00
parent 71dd46e450
commit 7c627cf732

View File

@ -242,8 +242,8 @@ function! s:self.redraw_windows() abort
\ 'focusable' : v:false,
\ })
if self.winblend > 0 && exists('&winblend')
call nvim_win_set_var(self.winid, 'winblend', self.winblend)
call nvim_win_set_var(self.border.winid, 'winblend', self.winblend)
call nvim_win_set_option(self.winid, 'winblend', self.winblend)
call nvim_win_set_option(self.border.winid, 'winblend', self.winblend)
endif
endif
call self.__buffer.buf_set_lines(self.border.bufnr, 0 , -1, 0,