Skip to content

Commit 7d16d56

Browse files
committed
fix(view): handle apostrophe in path for zathura
refer: #3161, #849
1 parent 85cb04f commit 7d16d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/vimtex/view/zathura.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function! vimtex#view#zathura#cmdline(outfile, synctex, start) abort " {{{1
5050
let l:cmd .= printf(
5151
\ ' --synctex-forward %d:%d:%s',
5252
\ line('.'), col('.'),
53-
\ vimtex#util#shellescape(expand('%:p')))
53+
\ shellescape(expand('%:p')))
5454
endif
5555

5656
return l:cmd . ' '

0 commit comments

Comments
 (0)