From de61b31cf89b6fd4653dc812d779abcf21ed33d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Thu, 9 Feb 2017 21:52:31 +0100 Subject: [PATCH] Fixed #663: Correct warning and handling of missing xdotool --- autoload/vimtex/view/zathura.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autoload/vimtex/view/zathura.vim b/autoload/vimtex/view/zathura.vim index 54c3ba0..7cb8af2 100644 --- a/autoload/vimtex/view/zathura.vim +++ b/autoload/vimtex/view/zathura.vim @@ -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 "