diff --git a/autoload/vimtex/view.vim b/autoload/vimtex/view.vim index bf8ea24..15c24e2 100644 --- a/autoload/vimtex/view.vim +++ b/autoload/vimtex/view.vim @@ -346,10 +346,11 @@ endfunction " }}}2 function! s:zathura.start(outfile) dict " {{{2 let exe = {} - let exe.cmd = 'zathura ' . g:vimtex_view_zathura_options + let exe.cmd = 'zathura ' let exe.cmd .= ' -x "' . g:vimtex_latexmk_progname \ . ' --servername ' . v:servername \ . ' --remote +\%{line} \%{input}"' + let exe.cmd .= ' ' . g:vimtex_view_zathura_options let exe.cmd .= ' ' . vimtex#util#shellescape(a:outfile) call vimtex#util#execute(exe) let self.cmd_start = exe.cmd