mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00:00:04 +08:00
fix(notify): fix unknown functions
This commit is contained in:
parent
ef60dd60d6
commit
22c922b5f3
@ -300,8 +300,10 @@ function! s:self.redraw_windows() abort
|
||||
call self.__buffer.buf_set_lines(self.border.bufnr, 0 , -1, 0,
|
||||
\ self.draw_border(self.title, self.notification_width, s:msg_real_len(self.message)))
|
||||
call self.__buffer.buf_set_lines(self.bufnr, 0 , -1, 0, s:message_body(self.message))
|
||||
if exists('*nvim_win_set_option')
|
||||
call nvim_win_set_cursor(self.winid, [1, 0])
|
||||
call nvim_win_set_cursor(self.border.winid, [1, 0])
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user