Skip to content

Commit 5f5f283

Browse files
Konfektchrisbra
authored andcommitted
runtime(pandoc): escape quotes in &errorformat for pandoc
closes: #15535 Signed-off-by: Konfekt <Konfekt@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 9beccaf commit 5f5f283

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

runtime/compiler/pandoc.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ execute 'CompilerSet makeprg=pandoc'..escape(
5252
\ ' --from='..b:pandoc_compiler_from .
5353
\ ' '..get(b:, 'pandoc_compiler_args', get(g:, 'pandoc_compiler_args', '')) .
5454
\ ' --output %:r:S.$* -- %:S', ' ')
55-
56-
CompilerSet errorformat=%f,\ line\ %l:\ %m
55+
CompilerSet errorformat=\"%f\",\ line\ %l:\ %m
5756

5857
let &cpo = s:keepcpo
5958
unlet s:keepcpo

0 commit comments

Comments
 (0)