Skip to content

Commit

Permalink
fix: disable appending of success_cmd on windows since escaping does …
Browse files Browse the repository at this point in the history
…not (lervag#2085)

work.

Co-authored-by: Nicholas Schwab <git@nicholas-schwab.de>
  • Loading branch information
Nicholas42 and Nicholas Schwab authored Jun 30, 2021
1 parent 299363d commit c9b3b50
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 @@ -629,7 +629,7 @@ function! s:wrap_option_appendcmd(name, value) abort " {{{1
" Do not use with $ in value. On linux, we use double quoted perl strings
" that interpolate.
return has('win32')
\ ? ' -e "$' . a:name . ' = ($' . a:name . ' ? $' . a:name . ' . '' & '' : '''') . ''' . a:value . '''"'
\ ? vimtex#compiler#latexmk#wrap_option(a:name, a:value)
\ : ' -e ''$' . a:name . ' = ($' . a:name . ' ? $' . a:name . ' . " ; " : "") . "' . a:value . '"'''
endfunction

Expand Down

0 comments on commit c9b3b50

Please sign in to comment.