Mercurial > vim
comparison runtime/filetype.vim @ 625:81fe2ccc1207 v7.0179
updated for version 7.0179
author | vimboss |
---|---|
date | Thu, 12 Jan 2006 23:22:24 +0000 |
parents | 862863033fdd |
children | a39b8af64334 |
comparison
equal
deleted
inserted
replaced
624:91e7d4a7b3b0 | 625:81fe2ccc1207 |
---|---|
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: 2005 Nov 23 | 4 " Last Change: 2006 Jan 12 |
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 |
397 let lnum = lnum + 1 | 397 let lnum = lnum + 1 |
398 endw | 398 endw |
399 setf dtd | 399 setf dtd |
400 endfun | 400 endfun |
401 | 401 |
402 " Clipper (or FoxPro) | 402 " Clipper (or FoxPro; could also be eviews) |
403 au BufNewFile,BufRead *.prg | 403 au BufNewFile,BufRead *.prg |
404 \ if exists("g:filetype_prg") | | 404 \ if exists("g:filetype_prg") | |
405 \ exe "setf " . g:filetype_prg | | 405 \ exe "setf " . g:filetype_prg | |
406 \ else | | 406 \ else | |
407 \ setf clipper | | 407 \ setf clipper | |
603 " Gnuplot scripts | 603 " Gnuplot scripts |
604 au BufNewFile,BufRead *.gpi setf gnuplot | 604 au BufNewFile,BufRead *.gpi setf gnuplot |
605 | 605 |
606 " GrADS scripts | 606 " GrADS scripts |
607 au BufNewFile,BufRead *.gs setf grads | 607 au BufNewFile,BufRead *.gs setf grads |
608 | |
609 " Gretl | |
610 au BufNewFile,BufRead *.gretl setf gretl | |
608 | 611 |
609 " Groovy | 612 " Groovy |
610 au BufNewFile,BufRead *.groovy setf groovy | 613 au BufNewFile,BufRead *.groovy setf groovy |
611 | 614 |
612 " GNU Server Pages | 615 " GNU Server Pages |