From: Konfekt Date: Tue, 20 Aug 2024 19:57:54 +0000 (+0200) Subject: runtime(pandoc): escape quotes in &errorformat for pandoc X-Git-Tag: v9.1.0686~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f5f2832f5dcf845a93f7f62c1daf6cba9c17989;p=thirdparty%2Fvim.git runtime(pandoc): escape quotes in &errorformat for pandoc closes: #15535 Signed-off-by: Konfekt Signed-off-by: Christian Brabandt --- diff --git a/runtime/compiler/pandoc.vim b/runtime/compiler/pandoc.vim index 68ac001b97..ecc935a836 100644 --- a/runtime/compiler/pandoc.vim +++ b/runtime/compiler/pandoc.vim @@ -52,8 +52,7 @@ execute 'CompilerSet makeprg=pandoc'..escape( \ ' --from='..b:pandoc_compiler_from . \ ' '..get(b:, 'pandoc_compiler_args', get(g:, 'pandoc_compiler_args', '')) . \ ' --output %:r:S.$* -- %:S', ' ') - -CompilerSet errorformat=%f,\ line\ %l:\ %m +CompilerSet errorformat=\"%f\",\ line\ %l:\ %m let &cpo = s:keepcpo unlet s:keepcpo