Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: syntax/
Date: Sat, 29 Nov 2014 07:19:40
Message-Id: 1417245345.c1f92729082781148a27689eb983ecc3736ba387.radhermit@gentoo
1 commit: c1f92729082781148a27689eb983ecc3736ba387
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 29 07:15:45 2014 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 29 07:15:45 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-syntax.git;a=commit;h=c1f92729
7
8 allow bracketed variables in exported functions for eclasses
9
10 X-Gentoo-Bug: 496458
11
12 ---
13 syntax/ebuild.vim | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim
17 index 649bc47..497d743 100644
18 --- a/syntax/ebuild.vim
19 +++ b/syntax/ebuild.vim
20 @@ -206,7 +206,7 @@ syn keyword EbuildGnome2Keyword gnome2_scrollkeeper_update gnome2_pkg_postinst g
21 " EXPORT_FUNCTIONS
22 syn match EbuildExportFunctions /EXPORT_FUNCTIONS/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE
23 syn match EbuildExportFunctionsFunc contained /\S\+\(\s\|$\)\@=/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE
24 -syn match EbuildExportFunctionsFuncE contained /\S\+\(\s\|$\)\@=\(pkg_pretend\|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
25 +syn match EbuildExportFunctionsFuncE contained /\S\+\(\s\|$\)\@=\(\${\S\+}\|pkg_pretend\|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
26
27 " Eclass documentation
28 syn match EclassDocumentation /@\(BLURB\|CODE\|DESCRIPTION\|ECLASS-VARIABLE\|ECLASS\|EXAMPLE\|FUNCTION\|MAINTAINER\|RETURN\|USAGE\|VARIABLE\):/ contained