Skip to content

Commit 95e9084

Browse files
authored
Merge pull request #573 from StarryLeo/revert-commit-18ed14a
2 parents b4dc23e + 21c8a8b commit 95e9084

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

ftdetect/markdown.vim

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
augroup VimMarkdown
2-
autocmd!
3-
augroup END
4-
51
if !has('patch-7.4.480')
62
" Before this patch, vim used modula2 for .md.
7-
au! VimMarkdown filetypedetect BufRead,BufNewFile *.md
3+
au! filetypedetect BufRead,BufNewFile *.md
84
endif
95

10-
" markdown filetype file
11-
au VimMarkdown BufRead,BufNewFile *.{md,mdx,mdown,mkd,mkdn,markdown,mdwn} setfiletype markdown
12-
au VimMarkdown BufRead,BufNewFile *.{md,mdx,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} setfiletype markdown
6+
" vint: -ProhibitAutocmdWithNoGroup
7+
au BufRead,BufNewFile *.{md,mdx,mdown,mkd,mkdn,markdown,mdwn} setfiletype markdown
8+
au BufRead,BufNewFile *.{md,mdx,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} setfiletype markdown

0 commit comments

Comments
 (0)