We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b37c094 commit 74229eeCopy full SHA for 74229ee
ftdetect/markdown.vim
@@ -1,2 +1,7 @@
1
+if !has('patch-7.4.480')
2
+ " Before this patch, vim used modula2 for .md.
3
+ " https://github.com/vim/vim/commit/7d76c804af900ba6dcc4b1e45373ccab3418c6b2
4
+ au! filetypedetect BufRead,BufNewFile *.md
5
+endif
6
au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn} set filetype=markdown
7
au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} set filetype=markdown
0 commit comments