Commit: runtime(compiler): Do not set title in pandoc compiler

1 view
Skip to first unread message

Christian Brabandt

unread,
Jan 10, 2026, 1:31:11 PM (2 days ago) Jan 10
to vim...@googlegroups.com
runtime(compiler): Do not set title in pandoc compiler

Commit: https://github.com/vim/vim/commit/69075d35be4d8f56a2dee8fb97948e4cbcdf3e9e
Author: Ubaldo Tiberi <ubaldo...@volvo.com>
Date: Sat Jan 10 18:21:45 2026 +0000

runtime(compiler): Do not set title in pandoc compiler

closes: https://github.com/vim/vim/issues/19048

Signed-off-by: Ubaldo Tiberi <ubaldo...@volvo.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/compiler/pandoc.vim b/runtime/compiler/pandoc.vim
index 40d2d0263..d12041920 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', ''))..
Reply all
Reply to author
Forward
0 new messages