Mercurial > vim
comparison runtime/filetype.vim @ 1676:3479f9aacaf5 v7.2b.008
updated for version 7.2b-008
author | vimboss |
---|---|
date | Fri, 18 Jul 2008 10:54:50 +0000 |
parents | 0b796e045c42 |
children | f4f8014d516e |
comparison
equal
deleted
inserted
replaced
1675:9368159253f8 | 1676:3479f9aacaf5 |
---|---|
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: 2008 Jul 08 | 4 " Last Change: 2008 Jul 17 |
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 |
90 au BufNewFile,BufRead *.wrm setf acedb | 90 au BufNewFile,BufRead *.wrm setf acedb |
91 | 91 |
92 " Ada (83, 9X, 95) | 92 " Ada (83, 9X, 95) |
93 au BufNewFile,BufRead *.adb,*.ads,*.ada setf ada | 93 au BufNewFile,BufRead *.adb,*.ads,*.ada setf ada |
94 if has("vms") | 94 if has("vms") |
95 au BufNewFile,BufRead *.gpr,*.ada_m,*.adc setf ada | 95 au BufNewFile,BufRead *.gpr,*.ada_m,*.adc setf ada |
96 else | 96 else |
97 au BufNewFile,BufRead *.gpr setf ada | 97 au BufNewFile,BufRead *.gpr setf ada |
98 endif | 98 endif |
99 | 99 |
100 " AHDL | 100 " AHDL |
101 au BufNewFile,BufRead *.tdf setf ahdl | 101 au BufNewFile,BufRead *.tdf setf ahdl |
102 | 102 |
288 endif | 288 endif |
289 endfunc | 289 endfunc |
290 | 290 |
291 " Blank | 291 " Blank |
292 au BufNewFile,BufRead *.bl setf blank | 292 au BufNewFile,BufRead *.bl setf blank |
293 | |
294 " Blkid cache file | |
295 au BufNewFile,BufRead /etc/blkid.tab,/etc/blkid.tab.old setf xml | |
293 | 296 |
294 " C or lpc | 297 " C or lpc |
295 au BufNewFile,BufRead *.c call s:FTlpc() | 298 au BufNewFile,BufRead *.c call s:FTlpc() |
296 | 299 |
297 func! s:FTlpc() | 300 func! s:FTlpc() |
737 | 740 |
738 " GNU Server Pages | 741 " GNU Server Pages |
739 au BufNewFile,BufRead *.gsp setf gsp | 742 au BufNewFile,BufRead *.gsp setf gsp |
740 | 743 |
741 " Group file | 744 " Group file |
742 au BufNewFile,BufRead /etc/group,/etc/group-,/etc/group.edit,/etc/gshadow,/etc/gshadow-,/etc/gshadow.edit,/var/backups/group.bak,/var/backups/gshadow.bak setf group | 745 au BufNewFile,BufRead /etc/group,/etc/group-,/etc/group.edit,/etc/gshadow,/etc/gshadow-,/etc/gshadow.edit,/var/backups/group.bak,/var/backups/gshadow.bak setf group |
743 | 746 |
744 " GTK RC | 747 " GTK RC |
745 au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc | 748 au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc |
746 | 749 |
747 " Haml | 750 " Haml |
797 " HTML Cheetah template | 800 " HTML Cheetah template |
798 au BufNewFile,BufRead *.tmpl setf htmlcheetah | 801 au BufNewFile,BufRead *.tmpl setf htmlcheetah |
799 | 802 |
800 " Host config | 803 " Host config |
801 au BufNewFile,BufRead /etc/host.conf setf hostconf | 804 au BufNewFile,BufRead /etc/host.conf setf hostconf |
805 | |
806 " Hosts access | |
807 au BufNewFile,BufRead /etc/hosts.allow,/etc/hosts.deny setf hostsaccess | |
802 | 808 |
803 " Hyper Builder | 809 " Hyper Builder |
804 au BufNewFile,BufRead *.hb setf hb | 810 au BufNewFile,BufRead *.hb setf hb |
805 | 811 |
806 " Icon | 812 " Icon |
848 endif | 854 endif |
849 endfunc | 855 endfunc |
850 | 856 |
851 | 857 |
852 " Indent RC | 858 " Indent RC |
853 au BufNewFile,BufRead indentrc setf indentrc | 859 au BufNewFile,BufRead indentrc setf indent |
854 | 860 |
855 " Inform | 861 " Inform |
856 au BufNewFile,BufRead *.inf,*.INF setf inform | 862 au BufNewFile,BufRead *.inf,*.INF setf inform |
857 | 863 |
858 " Initng | 864 " Initng |
1461 au BufNewFile,BufRead *.pyx,*.pxd setf pyrex | 1467 au BufNewFile,BufRead *.pyx,*.pxd setf pyrex |
1462 | 1468 |
1463 " Python | 1469 " Python |
1464 au BufNewFile,BufRead *.py,*.pyw setf python | 1470 au BufNewFile,BufRead *.py,*.pyw setf python |
1465 | 1471 |
1472 " Quixote (Python-based web framework) | |
1473 au BufNewFile,BufRead *.ptl setf python | |
1474 | |
1466 " Radiance | 1475 " Radiance |
1467 au BufNewFile,BufRead *.rad,*.mat setf radiance | 1476 au BufNewFile,BufRead *.rad,*.mat setf radiance |
1468 | 1477 |
1469 " Ratpoison config/command files | 1478 " Ratpoison config/command files |
1470 au BufNewFile,BufRead .ratpoisonrc,ratpoisonrc setf ratpoison | 1479 au BufNewFile,BufRead .ratpoisonrc,ratpoisonrc setf ratpoison |
1558 " reStructuredText Documentation Format | 1567 " reStructuredText Documentation Format |
1559 au BufNewFile,BufRead *.rst setf rst | 1568 au BufNewFile,BufRead *.rst setf rst |
1560 | 1569 |
1561 " RTF | 1570 " RTF |
1562 au BufNewFile,BufRead *.rtf setf rtf | 1571 au BufNewFile,BufRead *.rtf setf rtf |
1572 | |
1573 " Interactive Ruby shell | |
1574 au BufNewFile,BufRead .irbrc,irbrc setf ruby | |
1563 | 1575 |
1564 " Ruby | 1576 " Ruby |
1565 au BufNewFile,BufRead *.rb,*.rbw,*.gem,*.gemspec setf ruby | 1577 au BufNewFile,BufRead *.rb,*.rbw,*.gem,*.gemspec setf ruby |
1566 | 1578 |
1567 " Ruby on Rails | 1579 " Ruby on Rails |