Skip to content

Commit 74229ee

Browse files
committed
Disable ftdetect for md
1 parent b37c094 commit 74229ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ftdetect/markdown.vim

+5
Original file line numberDiff line numberDiff line change
@@ -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
16
au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn} set filetype=markdown
27
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

Comments
 (0)