X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=vim%2Ffiletype.vim;h=b37fe6cb9ac0003d66da1f94e4b2e8d143592720;hb=f98cea4c7ba303f24cad451ccb2d39a1bba749e9;hp=0cb4c2171b34f1c5aaf8fe66254064416c27efb0;hpb=5923f706617b966f114656c78bd60108d4ab1dde;p=~madcoder%2Fdotfiles.git diff --git a/vim/filetype.vim b/vim/filetype.vim index 0cb4c21..b37fe6c 100644 --- a/vim/filetype.vim +++ b/vim/filetype.vim @@ -3,14 +3,19 @@ if exists("did_load_filetypes") endif augroup filetypedetect + au BufRead,BufNewFile *.sb setf scheme au BufRead,BufNewFile *.JS setf javascript au BufRead,BufNewFile *.jas setf asm au BufRead,BufNewFile *.swfml setf xml 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 + au BufRead,BufNewFile peer*.log setf ubiquity-log " HTML (.shtml and .stm for server side) au BufNewFile,BufRead *.html,*.htm,*.shtml,*.stm call s:FThtml() @@ -26,6 +31,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()