runtime(compiler): Do not set title in pandoc compiler
Commit:
https://github.com/vim/vim/commit/69075d35be4d8f56a2dee8fb97948e4cbcdf3e9e
Author: Ubaldo Tiberi <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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',
''))..
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vediv-006Kzm-Bi%40256bit.org.