From 78e48cd9b5c8f8ac698fe545685f4abfcab08c03 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Wed, 21 Aug 2024 00:29:12 +0200 Subject: vim-patch:d55e698: runtime(pandoc): refine pandoc compiler settings closes: vim/vim#15529 https://github.com/vim/vim/commit/d55e698fa02195bf451b072eb2fb20cfbf7bddf5 Co-authored-by: Konfekt --- runtime/doc/quickfix.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'runtime/doc') diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index 83e495ffdd..30c84d7e8d 100644 --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -1305,6 +1305,13 @@ Additional arguments can be passed to pandoc: - either by appending them to make, say `:make html --self-contained` . - or setting them in `b:pandoc_compiler_args` or `g:pandoc_compiler_args`. +The `--from` argument is an educated guess using the buffer file type; +it can be overridden by setting `b:pandoc_compiler_from`. +Likewise the `--metadata lang` argument is set using `&spelllang`; +it can be overridden by setting `b:pandoc_compiler_lang`. +If `--from=markdown` is assumed and no title set in a title header or +YAML block, then the filename (without extension) is used as the title. + PERL *quickfix-perl* *compiler-perl* The Perl compiler plugin doesn't actually compile, but invokes Perl's internal -- cgit