support MacOS
[~madcoder/dotfiles.git] / vim / filetype.vim
index 0cb4c21..65cd4b9 100644 (file)
@@ -9,6 +9,9 @@ augroup filetypedetect
   au BufRead,BufNewFile *.hx               setf haxe
 
   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
 
@@ -26,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()