whoops

Wed, 28 Jul 2021 01:34:01 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 28 Jul 2021 01:34:01 -0500
changeset 931
55c477df9d1b
parent 930
6edfe4c6ebe5
child 932
f87943eb16aa

whoops

.vim/ftplugin/markdown.vim file | annotate | diff | comparison | revisions
bin/md2html file | annotate | diff | comparison | revisions
bin/mutt-md2html file | annotate | diff | comparison | revisions
--- 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)
--- a/bin/md2html
+++ b/bin/md2html
@@ -8,4 +8,4 @@ exec pandoc \
   --toc-depth=5 \
   --self-contained \
   --template=md2html \
-   $*
+  "$@"
--- a/bin/mutt-md2html
+++ b/bin/mutt-md2html
@@ -8,4 +8,4 @@ exec pandoc \
   --template=mail \
   --highlight-style=monochrome \
   --email-obfuscation=none \
-   $*
+  "$@"

mercurial