projects
/
~madcoder
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed files
[~madcoder/dotfiles.git]
/
vim
/
filetype.vim
diff --git
a/vim/filetype.vim
b/vim/filetype.vim
index
c0f12d2
..
b37fe6c
100644
(file)
--- a/
vim/filetype.vim
+++ b/
vim/filetype.vim
@@
-3,6
+3,7
@@
if exists("did_load_filetypes")
endif
augroup filetypedetect
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 *.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 *.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 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()
" 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 *.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()
" Distinguish between HTML, XHTML and Django
fun! s:FThtml()