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 04:41:36
Message-Id: 1417235967.32f79ee279545aa7532138090f6a745bdf26cc5c.radhermit@gentoo
1 commit: 32f79ee279545aa7532138090f6a745bdf26cc5c
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 29 04:39:27 2014 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 29 04:39:27 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-syntax.git;a=commit;h=32f79ee2
7
8 add pkg_pretend to function pattern lists
9
10 ---
11 syntax/ebuild.vim | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim
15 index 9ea2c15..7a1eafa 100644
16 --- a/syntax/ebuild.vim
17 +++ b/syntax/ebuild.vim
18 @@ -43,7 +43,7 @@ syn keyword EbuildCoreKeyword hasq hasv useq usev usex elog
19 syn keyword EbuildCoreKeyword addread addwrite adddeny addpredict
20
21 " Recognised functions
22 -syn keyword EbuildFunctions pkg_nofetch pkg_setup src_unpack src_compile src_test src_install
23 +syn keyword EbuildFunctions pkg_pretend pkg_nofetch pkg_setup src_unpack src_compile src_test src_install
24 syn keyword EbuildFunctions pkg_preinst pkg_postinst pkg_prerm pkg_postrm pkg_config
25 syn keyword EbuildFunctions pkg_info src_prepare src_configure
26
27 @@ -206,7 +206,7 @@ syn keyword EbuildGnome2Keyword gnome2_scrollkeeper_update gnome2_pkg_postinst g
28 " EXPORT_FUNCTIONS
29 syn match EbuildExportFunctions /EXPORT_FUNCTIONS/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE
30 syn match EbuildExportFunctionsFunc contained /\S\+\(\s\|$\)\@=/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE
31 -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
32 +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
33
34 " Eclass documentation
35 syn match EclassDocumentation /@\(BLURB\|CODE\|DESCRIPTION\|ECLASS-VARIABLE\|ECLASS\|EXAMPLE\|FUNCTION\|MAINTAINER\|RETURN\|USAGE\|VARIABLE\):/ contained