X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/8f402f6e0e976765d3889a23bc29699e8fd96b63..2ce54215a99b0a31154a468ad0aa56974c6fbefc:/.vim/bundle/vim-markdown/ftdetect/markdown.vim diff --git a/.vim/bundle/vim-markdown/ftdetect/markdown.vim b/.vim/bundle/vim-markdown/ftdetect/markdown.vim new file mode 100644 index 0000000..07682da --- /dev/null +++ b/.vim/bundle/vim-markdown/ftdetect/markdown.vim @@ -0,0 +1,8 @@ +if !has('patch-7.4.480') + " Before this patch, vim used modula2 for .md. + au! filetypedetect BufRead,BufNewFile *.md +endif + +" markdown filetype file +au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn} setfiletype markdown +au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} setfiletype markdown