summaryrefslogtreecommitdiffstats
path: root/autoload/vimtex
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-04-30 16:49:01 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-04-30 16:49:01 +0200
commit0a7c62b3b22a75f91245a718c1409e4216ae61c8 (patch)
tree0aa7ff145cf6d7444204350ba97d8c57d404cb5c /autoload/vimtex
parentc7b5826d53f3f4fe31e8168e1d8c6d7b19e60f4b (diff)
downloadvim-polyglot-0a7c62b3b22a75f91245a718c1409e4216ae61c8.tar.gz
vim-polyglot-0a7c62b3b22a75f91245a718c1409e4216ae61c8.zip
Remove rego syntax, fixes #486
Diffstat (limited to 'autoload/vimtex')
-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 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!')