From: Ubaldo Tiberi Date: Sat, 10 Jan 2026 18:21:45 +0000 (+0000) Subject: runtime(compiler): Do not set title in pandoc compiler X-Git-Tag: v9.1.2078~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69075d35be4d8f56a2dee8fb97948e4cbcdf3e9e;p=thirdparty%2Fvim.git runtime(compiler): Do not set title in pandoc compiler closes: #19048 Signed-off-by: Ubaldo Tiberi Signed-off-by: Christian Brabandt --- diff --git a/runtime/compiler/pandoc.vim b/runtime/compiler/pandoc.vim index 40d2d02633..d120419207 100644 --- a/runtime/compiler/pandoc.vim +++ b/runtime/compiler/pandoc.vim @@ -2,7 +2,8 @@ " Compiler: Pandoc " Maintainer: Konfekt " Last Change: 2024 Nov 19 -" 2025 May 15 Update the title regex for CompilerSet #17321 +" 2025 May 15 by Vim Project: Update the title regex for CompilerSet #17321 +" 2026 Jan 10 by Vim Project: Do not set the title #19048 " " Expects output file extension, say `:make html` or `:make pdf`. " Passes additional arguments to pandoc, say `:make html --self-contained`. @@ -52,8 +53,6 @@ endfunction execute 'CompilerSet makeprg=pandoc'..escape( \ ' --standalone'.. - \ (s:PandocFiletype(&filetype) ==# 'markdown' && (getline(1) =~# '^%\s\+\S\+' || (search('^title:\s\+\S\+', 'cnw') > 0)) ? - \ '' : ' --metadata title=%:t:r:S').. \ ' '..s:PandocLang().. \ ' --from='..s:PandocFiletype(&filetype).. \ ' '..get(b:, 'pandoc_compiler_args', get(g:, 'pandoc_compiler_args', ''))..