[nvim] add option for specifying extra arguments for markdown2htmldoc

This commit is contained in:
Dmytro Meleshko 2020-09-06 13:26:11 +03:00
parent 91bf1635e0
commit afb70a6ad3
1 changed files with 3 additions and 0 deletions

View File

@ -3,3 +3,6 @@ execute 'source' fnameescape(expand('<sfile>:p:h').'/text.vim')
let s:src_file = expand('%')
let s:out_file = s:src_file.'.html'
let &l:makeprg = 'markdown2htmldoc '.shellescape(s:src_file).' '.shellescape(s:out_file)
for s:arg in get(g:, 'dotfiles_markdown2htmldoc_options', [])
let &l:makeprg .= ' '.shellescape(s:arg)
endfor