Skip to content

Commit

Permalink
chore: minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
lervag committed Apr 9, 2021
1 parent 48a09ac commit bded2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/vimtex/compiler/latexmk.vim
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function! s:compiler.build_cmd() abort dict " {{{1
let l:cmd .= ' -pvc'

" Set viewer options
if !get(g:, 'vimtex_view_automatic', 1)
if !g:vimtex_view_automatic
\ || get(get(b:vimtex, 'viewer', {}), 'xwin_id') > 0
\ || get(s:, 'silence_next_callback', 0)
let l:cmd .= ' -view=none'
Expand Down

0 comments on commit bded2b4

Please sign in to comment.