Mercurial > hg > RemoteEditor > vim7
comparison runtime/syntax/config.vim @ 39:c16898406ff2
synchorinize version 7.3.081
author | one@zeus.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 17 Dec 2010 17:43:06 +0900 |
parents | 76efa0be13f1 |
children |
comparison
equal
deleted
inserted
replaced
38:e06a1cd7230d | 39:c16898406ff2 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: configure.in script: M4 with sh | 2 " Language: configure.in script: M4 with sh |
3 " Maintainer: Christian Hammesr <ch@lathspell.westend.com> | 3 " Maintainer: Christian Hammesr <ch@lathspell.westend.com> |
4 " Last Change: 2001 May 09 | 4 " Last Change: 2008 Sep 03 |
5 | 5 |
6 " Well, I actually even do not know much about m4. This explains why there | 6 " Well, I actually even do not know much about m4. This explains why there |
7 " is probably very much missing here, yet ! | 7 " is probably very much missing here, yet ! |
8 " But I missed a good hilighting when editing my GNU autoconf/automake | 8 " But I missed a good hilighting when editing my GNU autoconf/automake |
9 " script, so I wrote this quick and dirty patch. | 9 " script, so I wrote this quick and dirty patch. |
24 syn match configfunction "\<[A-Z_][A-Z0-9_]*\>" | 24 syn match configfunction "\<[A-Z_][A-Z0-9_]*\>" |
25 syn match confignumber "[-+]\=\<\d\+\(\.\d*\)\=\>" | 25 syn match confignumber "[-+]\=\<\d\+\(\.\d*\)\=\>" |
26 syn keyword configkeyword if then else fi test for in do done | 26 syn keyword configkeyword if then else fi test for in do done |
27 syn keyword configspecial cat rm eval | 27 syn keyword configspecial cat rm eval |
28 syn region configstring start=+"+ skip=+\\"+ end=+"+ | 28 syn region configstring start=+"+ skip=+\\"+ end=+"+ |
29 syn region configstring start=+`+ skip=+\\'+ end=+'+ | 29 syn region configstring start=+'+ skip=+\\'+ end=+'+ |
30 syn region configstring start=+`+ skip=+\\'+ end=+`+ | 30 syn region configstring start=+`+ skip=+\\'+ end=+`+ |
31 | 31 |
32 " Define the default highlighting. | 32 " Define the default highlighting. |
33 " For version 5.7 and earlier: only when not done already | 33 " For version 5.7 and earlier: only when not done already |
34 " For version 5.8 and later: only when an item doesn't have highlighting yet | 34 " For version 5.8 and later: only when an item doesn't have highlighting yet |