From a691858326430d1d5462161fd105aa419d3f54f2 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Wed, 21 Aug 2024 00:29:40 +0200 Subject: [PATCH] vim-patch:5f5f283: runtime(pandoc): escape quotes in &errorformat for pandoc closes: vim/vim#15535 https://github.com/vim/vim/commit/5f5f2832f5dcf845a93f7f62c1daf6cba9c17989 Co-authored-by: Konfekt --- runtime/compiler/pandoc.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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