From: hori-ryota Date: Wed, 17 Jun 2015 06:42:54 +0000 (+0900) Subject: Use compound filetype for plugins using "markdown" filetype X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/88cdc1f523cbd9af2d4d375d13e22488ee08fb64?ds=sidebyside Use compound filetype for plugins using "markdown" filetype --- diff --git a/ftdetect/mkd.vim b/ftdetect/mkd.vim index 9696cac..fab3ab0 100644 --- a/ftdetect/mkd.vim +++ b/ftdetect/mkd.vim @@ -1,3 +1,3 @@ " markdown filetype file -au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn} set filetype=mkd -au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} set filetype=mkd +au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn} set filetype=mkd.markdown +au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,idea,cast,rc2,rc4,rc5,desx} set filetype=mkd.markdown