summaryrefslogtreecommitdiffstats
path: root/autoload/vimtex/view/zathura.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/vimtex/view/zathura.vim')
-rw-r--r--autoload/vimtex/view/zathura.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/vimtex/view/zathura.vim b/autoload/vimtex/view/zathura.vim
index a001fa7e..88e41468 100644
--- a/autoload/vimtex/view/zathura.vim
+++ b/autoload/vimtex/view/zathura.vim
@@ -13,7 +13,7 @@ function! vimtex#view#zathura#new() abort " {{{1
return {}
endif
- if executable('ldd')
+ if g:vimtex_view_zathura_check_libsynctex && executable('ldd')
let l:shared = split(system("sh -c 'ldd $(which zathura)'"))
if v:shell_error == 0
\ && empty(filter(l:shared, 'v:val =~# ''libsynctex'''))