markdown.vim (319B)
1 if exists("g:current_compiler") 2 finish 3 endif 4 let g:current_compiler = "markdown" 5 if exists(":CompilerSet") != 2 " older Vim always used :setlocal 6 command -nargs=* CompilerSet setlocal <args> 7 endif 8 " potentially call with --citeproc flag 9 CompilerSet makeprg=pandoc\ %:p:S\ -f\ markdown\ --citeproc\ -o\ %:p:r:S.pdf