Skip to content

Commit

Permalink
Merge pull request #573 from StarryLeo/revert-commit-18ed14a
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque authored Feb 22, 2022
2 parents b4dc23e + 21c8a8b commit 95e9084
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions ftdetect/markdown.vim
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
augroup VimMarkdown
autocmd!
augroup END

if !has('patch-7.4.480')
" Before this patch, vim used modula2 for .md.
au! VimMarkdown filetypedetect BufRead,BufNewFile *.md
au! filetypedetect BufRead,BufNewFile *.md
endif

" markdown filetype file
au VimMarkdown BufRead,BufNewFile *.{md,mdx,mdown,mkd,mkdn,markdown,mdwn} setfiletype markdown
au VimMarkdown BufRead,BufNewFile *.{md,mdx,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} setfiletype markdown
" vint: -ProhibitAutocmdWithNoGroup
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

0 comments on commit 95e9084

Please sign in to comment.