markdown.vim 362 B

123456789
  1. if !has('patch-7.4.480')
  2. " Before this patch, vim used modula2 for .md.
  3. au! filetypedetect BufRead,BufNewFile *.md
  4. endif
  5. " markdown filetype file
  6. au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn} setfiletype markdown
  7. au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} setfiletype markdown