Skip to content

Commit

Permalink
merge: fix for inverse search win_fundbuf
Browse files Browse the repository at this point in the history
refer: #2990
  • Loading branch information
lervag committed Aug 20, 2024
2 parents 00c23ab + 5524e7d commit 76ef99f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/vimtex/view.vim
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function! vimtex#view#inverse_search(line, filename) abort " {{{1
" * If tab/window exists, switch to it/them
let l:bufnr = bufnr(l:file)
try
let [l:winid] = win_findbuf(l:bufnr)
let [l:winid; _] = win_findbuf(l:bufnr)
let [l:tabnr, l:winnr] = win_id2tabwin(l:winid)
execute l:tabnr . 'tabnext'
execute l:winnr . 'wincmd w'
Expand Down

0 comments on commit 76ef99f

Please sign in to comment.