From 4d736d56597d1dd98a878b3ce01a00e84942130f Mon Sep 17 00:00:00 2001 From: GianCarloMilanese Date: Sun, 24 Apr 2022 12:24:48 +0200 Subject: [PATCH] Use absolute path for Zathura forward search --- autoload/vimtex/view/zathura.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vimtex/view/zathura.vim b/autoload/vimtex/view/zathura.vim index fe6972c710..f3e6e164f9 100644 --- a/autoload/vimtex/view/zathura.vim +++ b/autoload/vimtex/view/zathura.vim @@ -99,7 +99,7 @@ function! s:cmdline(outfile, synctex, start) abort " {{{1 \ ' --synctex-forward %d:%d:%s', \ line('.'), col('.'), \ vimtex#util#shellescape( - \ vimtex#paths#relative(expand('%:p'), b:vimtex.root))) + \ expand('%:p'))) endif return l:cmd . ' '