From: Ciro Santilli 六四事件 法轮功 纳米比亚 威视 Date: Sun, 16 Aug 2015 09:54:35 +0000 (+0200) Subject: Merge pull request #217 from hori-ryota/feature/fixed-filetype X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/e5af33f813cf0f26e7a125eb734c5f4a9597306e?hp=81e1f07a8482b34ea8c59f6800e7e8dec7bf56b9 Merge pull request #217 from hori-ryota/feature/fixed-filetype Use compound filetype for plugins using "markdown" --- 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