commit e98967d6deff4939b0c1e3137f8811c766692bdc parent 56390bd53b52e261637d9f6a76e087be4ac7c4a4 Author: Alex Balgavy <alex@balgavy.eu> Date: Sat, 5 Dec 2020 19:51:27 +0100 vim: add citeproc flag for markdown Former-commit-id: 5b9eb2135e54509d8ae89e6c78d43e6051369620 Diffstat:
M | vim/compiler/markdown.vim | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vim/compiler/markdown.vim b/vim/compiler/markdown.vim @@ -5,4 +5,5 @@ let current_compiler = "markdown" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif -CompilerSet makeprg=pandoc\ %:p:S\ -f\ markdown\ --filter\ pandoc-citeproc\ -o\ %:p:r:S.pdf\ \&\&\ open\ -g\ %:p:r:S.pdf +" potentially call with --citeproc flag +CompilerSet makeprg=pandoc\ %:p:S\ -f\ markdown\ --citeproc\ -o\ %:p:r:S.pdf\ \&\&\ open\ -g\ %:p:r:S.pdf