From be32f5651d834499c7cc9d412ba0a03122ef711c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Thu, 4 Aug 2016 23:27:56 +0200 Subject: [PATCH] Minor adjustment --- autoload/vimtex/view.vim | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/autoload/vimtex/view.vim b/autoload/vimtex/view.vim index 0ea93a3..e5074e5 100644 --- a/autoload/vimtex/view.vim +++ b/autoload/vimtex/view.vim @@ -486,13 +486,6 @@ function! s:zathura_alternative.forward_search(outfile) dict " {{{2 let self.cmd_forward_search = exe.cmd endfunction -" }}}2 -function! s:zathura_alternative.copy_file() dict " {{{2 - if filereadable(b:vimtex.out()) - call writefile(readfile(b:vimtex.out(), 'b'), self.out, 'b') - endif -endfunction - " }}}2 function! s:zathura_alternative.latexmk_callback(status) dict " {{{2 if !a:status | return | endif @@ -515,6 +508,13 @@ function! s:zathura_alternative.latexmk_append_argument() dict " {{{2 return ' -view=none' endfunction +" }}}2 +function! s:zathura_alternative.copy_file() dict " {{{2 + if filereadable(b:vimtex.out()) + call writefile(readfile(b:vimtex.out(), 'b'), self.out, 'b') + endif +endfunction + " }}}2 " }}}1