diff options
author | Konfekt <Konfekt@users.noreply.github.com> | 2024-04-15 19:33:08 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-15 19:33:33 +0200 |
commit | fb8f31ea7d7f3f42e9bdce7b4434fd93fba8876f (patch) | |
tree | 615462fe8bb9d35d648b618af1c72ee62d85850b /runtime/compiler/pandoc.vim | |
parent | bce51d9005dd1c5bc002acbac2e12b649abcb013 (diff) |
runtime(doc): document pandoc compiler and enable configuring arguments
closes: #14550
Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/compiler/pandoc.vim')
-rw-r--r-- | runtime/compiler/pandoc.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/compiler/pandoc.vim b/runtime/compiler/pandoc.vim index 1b171a1cb8..6c151930c5 100644 --- a/runtime/compiler/pandoc.vim +++ b/runtime/compiler/pandoc.vim @@ -46,6 +46,7 @@ execute 'CompilerSet makeprg=pandoc\ --standalone' . \ '\ --metadata\ title=%:t:r:S' . \ '\ --metadata\ lang=' . matchstr(&spelllang, '^\a\a') . \ '\ --from=' . s:PandocFiletype(&filetype) . + \ '\ ' . escape(get(b:, 'pandoc_compiler_args', get(g:, 'pandoc_compiler_args', '')), ' ') . \ '\ --output\ %:r:S.$*\ %:S' CompilerSet errorformat="%f",\ line\ %l:\ %m |