Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-syntax r66 - trunk/gentoo-syntax/syntax
Date: Wed, 27 Jan 2010 21:38:38
Message-Id: E1NaFat-0002HY-Fk@stork.gentoo.org
1 Author: darkside
2 Date: 2010-01-27 21:38:35 +0000 (Wed, 27 Jan 2010)
3 New Revision: 66
4
5 Modified:
6 trunk/gentoo-syntax/syntax/ebuild.vim
7 Log:
8 Add EAPI-2 phases to EXPORT_FUNCTIONS awareness such that they don't get highlighted in red. Reported by spatz@g.o
9
10 Modified: trunk/gentoo-syntax/syntax/ebuild.vim
11 ===================================================================
12 --- trunk/gentoo-syntax/syntax/ebuild.vim 2009-07-20 02:43:23 UTC (rev 65)
13 +++ trunk/gentoo-syntax/syntax/ebuild.vim 2010-01-27 21:38:35 UTC (rev 66)
14 @@ -200,7 +200,7 @@
15 " EXPORT_FUNCTIONS
16 syn match EbuildExportFunctions /EXPORT_FUNCTIONS/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE
17 syn match EbuildExportFunctionsFunc contained /\S\+\(\s\|$\)\@=/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE
18 -syn match EbuildExportFunctionsFuncE contained /\S\+\(\s\|$\)\@=\(pkg_nofetch\|pkg_setup\|src_unpack\|src_compile\|src_test\|src_install\|pkg_preinst\|pkg_postinst\|pkg_prerm\|pkg_postrm\|pkg_config\)\@<!/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE
19 +syn match EbuildExportFunctionsFuncE contained /\S\+\(\s\|$\)\@=\(pkg_nofetch\|pkg_setup\|src_unpack\|src_prepare\|src_configure\|src_compile\|src_test\|src_install\|pkg_preinst\|pkg_postinst\|pkg_prerm\|pkg_postrm\|pkg_config\)\@<!/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE
20
21 " Eclass documentation
22 syn match EclassDocumentation /@\(BLURB\|CODE\|DESCRIPTION\|ECLASS-VARIABLE\|ECLASS\|EXAMPLE\|FUNCTION\|MAINTAINER\|RETURN\|USAGE\|VARIABLE\):/ contained