Commit 638a5137 authored by Adam Monsen's avatar Adam Monsen

vimrc: tweak Markdown file extension list

I guess I could leave .mkd, but I just can't recall ever seeing it.
Seems like an edge case.

I'm seeing *.markdown in .

I should also abstract the list since it is in two places.
parent 9076b4bd
......@@ -476,13 +476,13 @@ function s:ChordFileSettings()
set virtualedit=all mouse=a
autocmd BufNewFile,BufRead *.md,*.mkd set filetype=markdown
autocmd BufNewFile,BufRead *.md,*.markdown set filetype=markdown
autocmd FileType markdown call <SID>MarkdownFileSettings()
function s:MarkdownFileSettings()
set makeprg=mdfmt\ %
set linebreak
set spell
autocmd BufWritePost *.md silent make
autocmd BufWritePost *.md,*.markdown silent make
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