runtime(pandoc): escape quotes in &errorformat for pandoc
Commit:
https://github.com/vim/vim/commit/5f5f2832f5dcf845a93f7f62c1daf6cba9c17989
Author: Konfekt <
Kon...@users.noreply.github.com>
Date: Tue Aug 20 21:57:54 2024 +0200
runtime(pandoc): escape quotes in &errorformat for pandoc
closes:
https://github.com/vim/vim/issues/15535
Signed-off-by: Konfekt <
Kon...@users.noreply.github.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/compiler/pandoc.vim b/runtime/compiler/pandoc.vim
index 68ac001b9..ecc935a83 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