Don't add line number, pdf, and (current) tex file twice to the list of options. We do it when calling the command. (#466)
This commit is contained in:
parent
1763cd3ae9
commit
777efa5cbb
@ -824,7 +824,7 @@ Options~
|
||||
let l:tex = expand('%:p')
|
||||
let l:cmd = [g:vimtex_view_general_viewer, '-r']
|
||||
if !empty(system('pgrep Skim'))
|
||||
call extend(l:cmd, ['-g', line('.'), l:out, l:tex])
|
||||
call extend(l:cmd, ['-g'])
|
||||
endif
|
||||
if has('nvim')
|
||||
call jobstart(l:cmd + [line('.'), l:out, l:tex])
|
||||
|
Loading…
Reference in New Issue
Block a user