]> git.madduck.net Git - etc/vim.git/blobdiff - ftdetect/mkd.vim

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Add tilde-fenced code blocks.
[etc/vim.git] / ftdetect / mkd.vim
index bd7529e76fd56dba23ec76d85030b3527d4a6629..9696cac1a7f9108c76b0f1065920a371a7c5dcba 100644 (file)
@@ -1,3 +1,3 @@
 " markdown filetype file
-au BufRead,BufNewFile *.mkd,*.markdown,*.mdwn   set filetype=mkd
-
+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