vimrc/sources_non_forked/vim-markdown/ftdetect/markdown.vim

9 lines
381 B
VimL
Raw Normal View History

2019-01-08 10:11:54 +00:00
if !has('patch-7.4.480')
" Before this patch, vim used modula2 for .md.
au! filetypedetect BufRead,BufNewFile *.md
endif
2022-08-08 13:45:56 +00:00
" vint: -ProhibitAutocmdWithNoGroup
2020-12-04 21:15:32 +00:00
au BufRead,BufNewFile *.{md,mdx,mdown,mkd,mkdn,markdown,mdwn} setfiletype markdown
au BufRead,BufNewFile *.{md,mdx,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} setfiletype markdown