From c05bf59a0cf208f659e0d6777457ca5f9618b81e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Fri, 5 Aug 2016 10:27:05 +0200 Subject: [PATCH] Fixed silly mistake --- autoload/vimtex/view.vim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/autoload/vimtex/view.vim b/autoload/vimtex/view.vim index e42e647..44d2ad8 100644 --- a/autoload/vimtex/view.vim +++ b/autoload/vimtex/view.vim @@ -425,18 +425,18 @@ function! s:zathura_alternative.init() dict " {{{2 call vimtex#echo#warning('viewer Zathura requires xdotool!') endif - let self.class = 'Zathura' - let self.xwin_id = 0 - let self.xwin_get_id = function('s:xwin_get_id') - let self.xwin_exists = function('s:xwin_exists') - call self.xwin_exists(1) - " " Define output file names for the viewer " let self.out = b:vimtex.root . '/' . b:vimtex.name . '_vimtex.pdf' let self.synctex = fnamemodify(self.out, ':r') . '.synctex.gz' + let self.class = 'Zathura' + let self.xwin_id = 0 + let self.xwin_get_id = function('s:xwin_get_id') + let self.xwin_exists = function('s:xwin_exists') + call self.xwin_exists(1) + call add(g:vimtex_latexmk_callback_hooks, 'b:vimtex.viewer.latexmk_callback') endfunction