X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=vim%2Ffiletype.vim;h=b37fe6cb9ac0003d66da1f94e4b2e8d143592720;hb=b6bd4eafe7c01514ccc15dc22b3d902b7f1dc194;hp=cb25802c7e8ee8af2bcaa0532e09ce2b732ca1e3;hpb=0191ad2bdd2fd5ef66b70427914e87c067171c8f;p=~madcoder%2Fdotfiles.git diff --git a/vim/filetype.vim b/vim/filetype.vim index cb25802..b37fe6c 100644 --- a/vim/filetype.vim +++ b/vim/filetype.vim @@ -3,6 +3,7 @@ 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 @@ -10,8 +11,11 @@ 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 + 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() @@ -27,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()