Added latexmk callback for general viewer (#175)
This commit is contained in:
parent
0ca317e459
commit
68d61d2f98
@ -87,6 +87,15 @@ function! s:general.view(file) dict " {{{2
|
||||
let self.cmd_view = exe.cmd
|
||||
endfunction
|
||||
|
||||
" }}}2
|
||||
function! s:general.latexmk_append_argument() dict " {{{2
|
||||
let cmd = vimtex#latexmk#add_option('new_viewer_always', '0')
|
||||
let cmd .= vimtex#latexmk#add_option('pdf_update_method', '0')
|
||||
let cmd .= vimtex#latexmk#add_option('pdf_previewer', 'start '
|
||||
\ . g:vimtex_view_general_viewer . g:vimtex_view_mupdf_options)
|
||||
return cmd
|
||||
endfunction
|
||||
|
||||
" }}}2
|
||||
|
||||
" {{{1 MuPDF
|
||||
|
Loading…
Reference in New Issue
Block a user