Commit 46c2fbae authored by Adam Monsen's avatar Adam Monsen

quote filename in mardown makeprog cmdline

Now works for filenames with spaces
parent 8a68d179
......@@ -474,7 +474,7 @@ endfunction
autocmd FileType markdown call <SID>MarkdownFileSettings()
function s:MarkdownFileSettings()
set conceallevel=2
set makeprg=mdfmt\ %
set makeprg=mdfmt\ '%'
autocmd! BufWritePost *.md,*.markdown silent make
" http://stackoverflow.com/a/27686668/156060
match todo /FIXME\|TODO/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment