X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=vim%2Ffiletype.vim;h=b37fe6cb9ac0003d66da1f94e4b2e8d143592720;hb=b6bd4eafe7c01514ccc15dc22b3d902b7f1dc194;hp=c0f12d21bee906e4f6f19d071eea3fc96dc9e44a;hpb=755c8eadfb8b252af437c0c44b4270a289cb4d0b;p=~madcoder%2Fdotfiles.git diff --git a/vim/filetype.vim b/vim/filetype.vim index c0f12d2..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 @@ -11,8 +12,10 @@ 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() @@ -28,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()