Fixed #663: Correct warning and handling of missing xdotool

This commit is contained in:
Karl Yngve Lervåg 2017-02-09 21:52:31 +01:00
parent 9ef8463dae
commit de61b31cf8

View File

@ -24,8 +24,7 @@ function! vimtex#view#zathura#new() " {{{1
" Check if the xdotool is available
"
if !executable('xdotool')
call vimtex#echo#warning('Zathura requires xdotool!')
return {}
call vimtex#echo#warning('Zathura requires xdotool for forward search!')
endif
"