[nvim] add a handy makeprg for markdown files

This commit is contained in:
Dmytro Meleshko 2020-05-12 16:46:12 +03:00
parent ebd9124bb1
commit 2a260771e9
1 changed files with 4 additions and 0 deletions

View File

@ -1 +1,5 @@
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)