Skip to content

Commit 545c602

Browse files
committed
revert: liuchengxu#459 as it breaks multiwindow setup
1 parent 58dabc0 commit 545c602

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

autoload/vista/source.vim

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
if exists('*bufwinid')
66
function! s:GotoSourceWindow() abort
7-
let bufid = g:vista.source.bufnr
8-
let winid = bufwinid(bufid)
7+
let winid = g:vista.source.get_winid()
98
if winid != -1
109
if win_getid() != winid
1110
" No use noautocmd here. Ref #362

0 commit comments

Comments
 (0)