Skip to content

Commit

Permalink
fix: use full path for zathura --synctex-forward
Browse files Browse the repository at this point in the history
refer: #2392, #2377
  • Loading branch information
lervag committed May 18, 2022
1 parent e6bbfdf commit ef77323
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions autoload/vimtex/view/zathura.vim
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ function! s:cmdline(outfile, synctex, start) abort " {{{1
let l:cmd .= printf(
\ ' --synctex-forward %d:%d:%s',
\ line('.'), col('.'),
\ vimtex#util#shellescape(
\ vimtex#paths#relative(expand('%:p'), b:vimtex.root)))
\ vimtex#util#shellescape(expand('%:p')))
endif

return l:cmd . ' '
Expand Down

0 comments on commit ef77323

Please sign in to comment.