Minor adjustment

This commit is contained in:
Karl Yngve Lervåg 2016-08-04 23:27:56 +02:00
parent 39a0398f95
commit be32f5651d

View File

@ -486,13 +486,6 @@ function! s:zathura_alternative.forward_search(outfile) dict " {{{2
let self.cmd_forward_search = exe.cmd let self.cmd_forward_search = exe.cmd
endfunction 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 " }}}2
function! s:zathura_alternative.latexmk_callback(status) dict " {{{2 function! s:zathura_alternative.latexmk_callback(status) dict " {{{2
if !a:status | return | endif if !a:status | return | endif
@ -515,6 +508,13 @@ function! s:zathura_alternative.latexmk_append_argument() dict " {{{2
return ' -view=none' return ' -view=none'
endfunction 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 " }}}2
" }}}1 " }}}1