update dotfiles
[~madcoder/dotfiles.git] / vim / filetype.vim
index c0f12d2..65cd4b9 100644 (file)
@@ -11,6 +11,7 @@ augroup filetypedetect
   au BufRead,BufNewFile *.tpl              setf xhtml
   au BufRead,BufNewFile *.blk              setf c
   au BufRead,BufNewFile *.blkk             setf cpp
+  au BufRead,BufNewFile *.adoc             setf asciidoc
 
   au BufRead,BufNewFile massif.*.txt       setf massif
 
@@ -28,6 +29,8 @@ augroup filetypedetect
   au BufNewFile,BufRead *.iop setf d
 
   au BufNewFile,BufRead .gitsendemail.* setf gitsendemail
+  au BufNewFile,BufRead COMMIT_EDITMSG  setf gitcommit
+  au BufNewFile,BufRead *.git/modules/*/config  setf gitconfig
 
   " Distinguish between HTML, XHTML and Django
   fun! s:FThtml()