parent
a84412c626
commit
af9786ee57
@ -135,7 +135,7 @@ function! s:move_to_winpos(winpos) abort
|
|||||||
let is_win_moved = !(winnr is# winnr())
|
let is_win_moved = !(winnr is# winnr())
|
||||||
if is_win_moved
|
if is_win_moved
|
||||||
if exists('#WinLeave')
|
if exists('#WinLeave')
|
||||||
doautocmd WinLeave
|
silent doautocmd WinLeave
|
||||||
endif
|
endif
|
||||||
call s:move_to_win(winnr)
|
call s:move_to_win(winnr)
|
||||||
else
|
else
|
||||||
@ -143,7 +143,7 @@ function! s:move_to_winpos(winpos) abort
|
|||||||
endif
|
endif
|
||||||
call cursor(pos)
|
call cursor(pos)
|
||||||
if is_win_moved && exists('#WinEnter')
|
if is_win_moved && exists('#WinEnter')
|
||||||
doautocmd WinEnter
|
silent doautocmd WinEnter
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user