]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(pandoc): escape quotes in &errorformat for pandoc
authorKonfekt <Konfekt@users.noreply.github.com>
Tue, 20 Aug 2024 19:57:54 +0000 (21:57 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 20 Aug 2024 19:57:54 +0000 (21:57 +0200)
closes: #15535

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/compiler/pandoc.vim

index 68ac001b9772ac1ee8ce0d4871e52173eef0dc0c..ecc935a836fc402e8990d1bf54aaadc1b1aebc9a 100644 (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