mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 09:20:06 +08:00
8 lines
419 B
VimL
8 lines
419 B
VimL
|
if !has('patch-7.4.480')
|
||
|
" Before this patch, vim used modula2 for .md.
|
||
|
" https://github.com/vim/vim/commit/7d76c804af900ba6dcc4b1e45373ccab3418c6b2
|
||
|
au! filetypedetect BufRead,BufNewFile *.md
|
||
|
endif
|
||
|
au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn} set filetype=markdown
|
||
|
au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} set filetype=markdown
|