commit
75c0b15381
@ -393,6 +393,8 @@ function! s:latexmk_build_cmd() " {{{1
|
|||||||
let cmd = 'cd ' . vimtex#util#shellescape(b:vimtex.root)
|
let cmd = 'cd ' . vimtex#util#shellescape(b:vimtex.root)
|
||||||
if fnamemodify(&shell, ':t') ==# 'fish'
|
if fnamemodify(&shell, ':t') ==# 'fish'
|
||||||
let cmd .= '; and set max_print_line 2000; and latexmk'
|
let cmd .= '; and set max_print_line 2000; and latexmk'
|
||||||
|
elseif fnamemodify(&shell, ':t') ==# 'tcsh'
|
||||||
|
let cmd .= ' && set max_print_line=2000 && latexmk'
|
||||||
else
|
else
|
||||||
let cmd .= ' && max_print_line=2000 latexmk'
|
let cmd .= ' && max_print_line=2000 latexmk'
|
||||||
endif
|
endif
|
||||||
@ -439,6 +441,8 @@ function! s:latexmk_build_cmd() " {{{1
|
|||||||
if has('win32')
|
if has('win32')
|
||||||
let cmd .= ' >' . tmp
|
let cmd .= ' >' . tmp
|
||||||
let cmd = 'cmd /s /c "' . cmd . '"'
|
let cmd = 'cmd /s /c "' . cmd . '"'
|
||||||
|
elseif fnamemodify(&shell, ':t') ==# 'tcsh'
|
||||||
|
let cmd .= ' >' . tmp . ' |& cat'
|
||||||
else
|
else
|
||||||
let cmd .= ' >' . tmp . ' 2>&1'
|
let cmd .= ' >' . tmp . ' 2>&1'
|
||||||
endif
|
endif
|
||||||
|
@ -76,7 +76,11 @@ function! vimtex#util#execute(exe) " {{{1
|
|||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
if null
|
if null
|
||||||
let cmd .= ' >/dev/null 2>&1'
|
if fnamemodify(&shell, ':t') ==# 'tcsh'
|
||||||
|
let cmd .= ' >/dev/null |& cat'
|
||||||
|
else
|
||||||
|
let cmd .= ' >/dev/null 2>&1'
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
if bg
|
if bg
|
||||||
let cmd .= ' &'
|
let cmd .= ' &'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user