changeset 36007:12e3de194609

runtime(pandoc): escape quotes in &errorformat for pandoc Commit: https://github.com/vim/vim/commit/5f5f2832f5dcf845a93f7f62c1daf6cba9c17989 Author: Konfekt <Konfekt@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 <Konfekt@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Tue, 20 Aug 2024 22:00:02 +0200
parents abb23ce5ff10
children 43177e929d61
files runtime/compiler/pandoc.vim
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/compiler/pandoc.vim
+++ b/runtime/compiler/pandoc.vim
@@ -52,8 +52,7 @@ execute 'CompilerSet makeprg=pandoc'..es
       \ ' --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