diff options
Diffstat (limited to 'autoload/vimtex')
-rw-r--r-- | autoload/vimtex/view/zathura.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/vimtex/view/zathura.vim b/autoload/vimtex/view/zathura.vim index 98419981..a001fa7e 100644 --- a/autoload/vimtex/view/zathura.vim +++ b/autoload/vimtex/view/zathura.vim @@ -14,7 +14,7 @@ function! vimtex#view#zathura#new() abort " {{{1 endif if executable('ldd') - let l:shared = split(system('ldd =zathura')) + let l:shared = split(system("sh -c 'ldd $(which zathura)'")) if v:shell_error == 0 \ && empty(filter(l:shared, 'v:val =~# ''libsynctex''')) call vimtex#log#warning('Zathura is not linked to libsynctex!') |