Mercurial > vim
comparison runtime/syntax/sh.vim @ 622:4096208d2a50
updated for version 7.0178
author | vimboss |
---|---|
date | Thu, 29 Dec 2005 22:45:34 +0000 |
parents | 862863033fdd |
children | d6a69271cb9a |
comparison
equal
deleted
inserted
replaced
621:c5688885c414 | 622:4096208d2a50 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: shell (sh) Korn shell (ksh) bash (sh) | 2 " Language: shell (sh) Korn shell (ksh) bash (sh) |
3 " Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz> | 3 " Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz> |
4 " Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int> | 4 " Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int> |
5 " Last Change: Oct 18, 2005 | 5 " Last Change: Dec 29, 2005 |
6 " Version: 78 | 6 " Version: 79 |
7 " URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax | 7 " URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax |
8 " | 8 " |
9 " Using the following VIM variables: {{{1 | 9 " Using the following VIM variables: {{{1 |
10 " b:is_kornshell if defined, enhance with kornshell/POSIX syntax | 10 " b:is_kornshell if defined, enhance with kornshell/POSIX syntax |
11 " b:is_bash if defined, enhance with bash syntax | 11 " b:is_bash if defined, enhance with bash syntax |
121 syn match shTestError "]" | 121 syn match shTestError "]" |
122 | 122 |
123 " Options Interceptor: {{{1 | 123 " Options Interceptor: {{{1 |
124 " ==================== | 124 " ==================== |
125 syn match shOption "\s[\-+][a-zA-Z0-9]\+\>"ms=s+1 | 125 syn match shOption "\s[\-+][a-zA-Z0-9]\+\>"ms=s+1 |
126 syn match shOption "\s--\S\+"ms=s+1 | 126 syn match shOption "\s--[^ \t$`|]\+"ms=s+1 |
127 | 127 |
128 " Operators: {{{1 | 128 " Operators: {{{1 |
129 " ========== | 129 " ========== |
130 syn match shOperator "[!&;|]" | 130 syn match shOperator "[!&;|]" |
131 syn match shOperator "\[[[^:]\|\]]" | 131 syn match shOperator "\[[[^:]\|\]]" |