comparison runtime/filetype.vim @ 4229:fa4089df54bc

Update runtime files.
author Bram Moolenaar <bram@vim.org>
date Tue, 19 Mar 2013 11:35:58 +0100
parents 7ffc704cb7c1
children 2d1383658bb4
comparison
equal deleted inserted replaced
4228:1e1297b26329 4229:fa4089df54bc
1 " Vim support file to detect file types 1 " Vim support file to detect file types
2 " 2 "
3 " Maintainer: Bram Moolenaar <Bram@vim.org> 3 " Maintainer: Bram Moolenaar <Bram@vim.org>
4 " Last Change: 2013 Feb 28 4 " Last Change: 2013 Mar 16
5 5
6 " Listen very carefully, I will say this only once 6 " Listen very carefully, I will say this only once
7 if exists("did_load_filetypes") 7 if exists("did_load_filetypes")
8 finish 8 finish
9 endif 9 endif
137 au BufNewFile,BufRead .arch-inventory,=tagging-method setf arch 137 au BufNewFile,BufRead .arch-inventory,=tagging-method setf arch
138 138
139 " ART*Enterprise (formerly ART-IM) 139 " ART*Enterprise (formerly ART-IM)
140 au BufNewFile,BufRead *.art setf art 140 au BufNewFile,BufRead *.art setf art
141 141
142 " AsciiDoc
143 au BufNewFile,BufRead *.asciidoc setf asciidoc
144
142 " ASN.1 145 " ASN.1
143 au BufNewFile,BufRead *.asn,*.asn1 setf asn 146 au BufNewFile,BufRead *.asn,*.asn1 setf asn
144 147
145 " Active Server Pages (with Visual Basic Script) 148 " Active Server Pages (with Visual Basic Script)
146 au BufNewFile,BufRead *.asa 149 au BufNewFile,BufRead *.asa
747 750
748 " Gedcom 751 " Gedcom
749 au BufNewFile,BufRead *.ged,lltxxxxx.txt setf gedcom 752 au BufNewFile,BufRead *.ged,lltxxxxx.txt setf gedcom
750 753
751 " Git 754 " Git
752 au BufNewFile,BufRead *.git/COMMIT_EDITMSG setf gitcommit 755 au BufNewFile,BufRead *.git/COMMIT_EDITMSG setf gitcommit
753 au BufNewFile,BufRead *.git/MERGE_MSG setf gitcommit 756 au BufNewFile,BufRead *.git/MERGE_MSG setf gitcommit
754 au BufNewFile,BufRead *.git/config,.gitconfig,.gitmodules setf gitconfig 757 au BufNewFile,BufRead *.git/config,.gitconfig,.gitmodules setf gitconfig
755 au BufNewFile,BufRead *.git/modules/**/COMMIT_EDITMSG setf gitcommit 758 au BufNewFile,BufRead *.git/modules/**/COMMIT_EDITMSG setf gitcommit
756 au BufNewFile,BufRead *.git/modules/**/config setf gitconfig 759 au BufNewFile,BufRead *.git/modules/**/config setf gitconfig
757 au BufNewFile,BufRead git-rebase-todo setf gitrebase 760 au BufNewFile,BufRead git-rebase-todo setf gitrebase
758 au BufNewFile,BufRead .msg.[0-9]* 761 au BufNewFile,BufRead .msg.[0-9]*
759 \ if getline(1) =~ '^From.*# This line is ignored.$' | 762 \ if getline(1) =~ '^From.*# This line is ignored.$' |
760 \ setf gitsendemail | 763 \ setf gitsendemail |
761 \ endif 764 \ endif
762 au BufNewFile,BufRead *.git/** 765 au BufNewFile,BufRead *.git/**
779 au BufNewFile,BufRead gnashrc,.gnashrc,gnashpluginrc,.gnashpluginrc setf gnash 782 au BufNewFile,BufRead gnashrc,.gnashrc,gnashpluginrc,.gnashpluginrc setf gnash
780 783
781 " Gitolite 784 " Gitolite
782 au BufNewFile,BufRead gitolite.conf setf gitolite 785 au BufNewFile,BufRead gitolite.conf setf gitolite
783 au BufNewFile,BufRead */gitolite-admin/conf/* call s:StarSetf('gitolite') 786 au BufNewFile,BufRead */gitolite-admin/conf/* call s:StarSetf('gitolite')
784 au BufNewFile,BufRead {,.}gitolite.rc,example.gitolite.rc setf perl 787 au BufNewFile,BufRead {,.}gitolite.rc,example.gitolite.rc setf perl
785 788
786 " Gnuplot scripts 789 " Gnuplot scripts
787 au BufNewFile,BufRead *.gpi setf gnuplot 790 au BufNewFile,BufRead *.gpi setf gnuplot
788 791
789 " GrADS scripts 792 " GrADS scripts
2410 2413
2411 " Yaml 2414 " Yaml
2412 au BufNewFile,BufRead *.yaml,*.yml setf yaml 2415 au BufNewFile,BufRead *.yaml,*.yml setf yaml
2413 2416
2414 " yum conf (close enough to dosini) 2417 " yum conf (close enough to dosini)
2415 au BufNewFile,BufRead */etc/yum.conf setf dosini 2418 au BufNewFile,BufRead */etc/yum.conf setf dosini
2416 2419
2417 " Zimbu 2420 " Zimbu
2418 au BufNewFile,BufRead *.zu setf zimbu 2421 au BufNewFile,BufRead *.zu setf zimbu
2419 2422
2420 " Zope 2423 " Zope
2421 " dtml (zope dynamic template markup language), pt (zope page template), 2424 " dtml (zope dynamic template markup language), pt (zope page template),
2422 " cpt (zope form controller page template) 2425 " cpt (zope form controller page template)
2423 au BufNewFile,BufRead *.dtml,*.pt,*.cpt call s:FThtml() 2426 au BufNewFile,BufRead *.dtml,*.pt,*.cpt call s:FThtml()
2586 2589
2587 " Xinetd conf 2590 " Xinetd conf
2588 au BufNewFile,BufRead */etc/xinetd.d/* call s:StarSetf('xinetd') 2591 au BufNewFile,BufRead */etc/xinetd.d/* call s:StarSetf('xinetd')
2589 2592
2590 " yum conf (close enough to dosini) 2593 " yum conf (close enough to dosini)
2591 au BufNewFile,BufRead */etc/yum.repos.d/* call s:StarSetf('dosini') 2594 au BufNewFile,BufRead */etc/yum.repos.d/* call s:StarSetf('dosini')
2592 2595
2593 " Z-Shell script 2596 " Z-Shell script
2594 au BufNewFile,BufRead zsh*,zlog* call s:StarSetf('zsh') 2597 au BufNewFile,BufRead zsh*,zlog* call s:StarSetf('zsh')
2595 2598
2596 2599