Fixed syntax for fish shell (fixes #148)
This commit is contained in:
parent
7ac9370576
commit
c21fdb4369
@ -375,7 +375,11 @@ function! s:latexmk_build_cmd(data) " {{{1
|
|||||||
let cmd .= ' && set max_print_line=2000 & latexmk'
|
let cmd .= ' && set max_print_line=2000 & latexmk'
|
||||||
else
|
else
|
||||||
let cmd = 'cd ' . shellescape(a:data.root)
|
let cmd = 'cd ' . shellescape(a:data.root)
|
||||||
let cmd .= ' && max_print_line=2000 latexmk'
|
if fnamemodify(&shell, ':t') ==# 'fish'
|
||||||
|
let cmd .= '; and set max_print_line 2000; and latexmk'
|
||||||
|
else
|
||||||
|
let cmd .= ' && max_print_line=2000 latexmk'
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let cmd .= ' ' . g:vimtex_latexmk_options
|
let cmd .= ' ' . g:vimtex_latexmk_options
|
||||||
|
Loading…
Reference in New Issue
Block a user