X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=blobdiff_plain;f=macros.vim;fp=macros.vim;h=cba6b844c37b1578f3d811bac9626e10b69e0e0a;hp=73ce12864cca1fefa1aaf7c031349ed54bca252c;hb=63fa8aedc311e6597c42cd46166db1a378737186;hpb=5de20fbd6011047dee01155faf87658547021f31 diff --git a/macros.vim b/macros.vim index 73ce128..cba6b84 100644 --- a/macros.vim +++ b/macros.vim @@ -93,7 +93,7 @@ function RunPandoc() let cssopts = "-c pandoc.css" endif - execute ":!pandoc " . cssopts . " --self-contained --toc " . @% . " -o " . @% . ".html" + execute ":!pandoc " . cssopts . " --self-contained --toc '" . @% . "' -o '" . @% . "'.html" endfunction function RunMarkdownpy(prog)