mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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>
This commit is contained in:
committed by
Christian Brabandt
parent
bce51d9005
commit
fb8f31ea7d
@@ -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
|
||||
|
Reference in New Issue
Block a user