# HG changeset patch # User Meredith Howard # Date 1627454041 18000 # Node ID 55c477df9d1b19c87360b5368a026a64067fdc2e # Parent 6edfe4c6ebe599abfdc3abcaccdc4de3755dd5af whoops diff --git a/.vim/ftplugin/markdown.vim b/.vim/ftplugin/markdown.vim --- a/.vim/ftplugin/markdown.vim +++ b/.vim/ftplugin/markdown.vim @@ -1,7 +1,9 @@ runtime ftplugin/text.vim setl equalprg=pandoc\ -f\ markdown\ -t\ markdown -let b:markdown_autohtml = 0 +if !exists('b:markdown_autohtml') + let b:markdown_autohtml = 0 +endif function! s:autohtml() abort if get(b:, 'markdown_autohtml', 0) diff --git a/bin/md2html b/bin/md2html --- a/bin/md2html +++ b/bin/md2html @@ -8,4 +8,4 @@ exec pandoc \ --toc-depth=5 \ --self-contained \ --template=md2html \ - $* + "$@" diff --git a/bin/mutt-md2html b/bin/mutt-md2html --- a/bin/mutt-md2html +++ b/bin/mutt-md2html @@ -8,4 +8,4 @@ exec pandoc \ --template=mail \ --highlight-style=monochrome \ --email-obfuscation=none \ - $* + "$@"