vim-patch:5f5f283: runtime(pandoc): escape quotes in &errorformat for pandoc

closes: vim/vim#15535

5f5f2832f5

Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
This commit is contained in:
Christian Clason 2024-08-21 00:29:40 +02:00
parent 78e48cd9b5
commit a691858326

View File

@ -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