Mercurial > vim
comparison runtime/scripts.vim @ 179:7fd70926e2e1 v7.0055
updated for version 7.0055
author | vimboss |
---|---|
date | Fri, 04 Mar 2005 23:39:37 +0000 |
parents | 404aac550f35 |
children | 946f0cbdd535 |
comparison
equal
deleted
inserted
replaced
178:4d53c2a2af94 | 179:7fd70926e2e1 |
---|---|
1 " Vim support file to detect file types in scripts | 1 " Vim support file to detect file types in scripts |
2 " | 2 " |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last change: 2004 Oct 02 | 4 " Last change: 2005 Mar 04 |
5 | 5 |
6 " This file is called by an autocommand for every file that has just been | 6 " This file is called by an autocommand for every file that has just been |
7 " loaded into a buffer. It checks if the type of file can be recognized by | 7 " loaded into a buffer. It checks if the type of file can be recognized by |
8 " the file contents. The autocommand is in $VIMRUNTIME/filetype.vim. | 8 " the file contents. The autocommand is in $VIMRUNTIME/filetype.vim. |
9 | 9 |
219 set ft=rcslog | 219 set ft=rcslog |
220 | 220 |
221 " CVS commit | 221 " CVS commit |
222 elseif s:line2 =~ '^CVS:' || getline("$") =~ '^CVS: ' | 222 elseif s:line2 =~ '^CVS:' || getline("$") =~ '^CVS: ' |
223 set ft=cvs | 223 set ft=cvs |
224 | |
225 " Prescribe | |
226 elseif s:line1 =~ '^!R!' | |
227 set ft=prescribe | |
224 | 228 |
225 " Send-pr | 229 " Send-pr |
226 elseif s:line1 =~ '^SEND-PR:' | 230 elseif s:line1 =~ '^SEND-PR:' |
227 set ft=sendpr | 231 set ft=sendpr |
228 | 232 |