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 |