Mercurial > vim
comparison runtime/scripts.vim @ 1698:f4f8014d516e v7.2c.000
updated for version 7.2c-000
author | vimboss |
---|---|
date | Wed, 06 Aug 2008 17:06:04 +0000 |
parents | 0b796e045c42 |
children | 5232b9862f23 |
comparison
equal
deleted
inserted
replaced
1697:2f9308b31181 | 1698:f4f8014d516e |
---|---|
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: 2008 Jun 30 | 4 " Last change: 2008 Jul 17 |
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 |
274 \ || s:line5 =~ '^%.\{-}[Vv]irata' | 274 \ || s:line5 =~ '^%.\{-}[Vv]irata' |
275 set ft=virata | 275 set ft=virata |
276 | 276 |
277 " Strace | 277 " Strace |
278 elseif s:line1 =~ '^[0-9]* *execve(' | 278 elseif s:line1 =~ '^[0-9]* *execve(' |
279 elseif s:line1 =~ '^\(\[pid \d\+\] \)\=[0-9:.]* *execve(' || s:line1 =~ '^__libc_start_main' | |
279 set ft=strace | 280 set ft=strace |
280 | 281 |
281 " VSE JCL | 282 " VSE JCL |
282 elseif s:line1 =~ '^\* $$ JOB\>' || s:line1 =~ '^// *JOB\>' | 283 elseif s:line1 =~ '^\* $$ JOB\>' || s:line1 =~ '^// *JOB\>' |
283 set ft=vsejcl | 284 set ft=vsejcl |