commit:     32f79ee279545aa7532138090f6a745bdf26cc5c
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 29 04:39:27 2014 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sat Nov 29 04:39:27 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/gentoo-syntax.git;a=commit;h=32f79ee2

add pkg_pretend to function pattern lists

---
 syntax/ebuild.vim | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim
index 9ea2c15..7a1eafa 100644
--- a/syntax/ebuild.vim
+++ b/syntax/ebuild.vim
@@ -43,7 +43,7 @@ syn keyword EbuildCoreKeyword hasq hasv useq usev usex elog
 syn keyword EbuildCoreKeyword addread addwrite adddeny addpredict
 
 " Recognised functions
-syn keyword EbuildFunctions pkg_nofetch pkg_setup src_unpack src_compile 
src_test src_install
+syn keyword EbuildFunctions pkg_pretend pkg_nofetch pkg_setup src_unpack 
src_compile src_test src_install
 syn keyword EbuildFunctions pkg_preinst pkg_postinst pkg_prerm pkg_postrm 
pkg_config
 syn keyword EbuildFunctions pkg_info src_prepare src_configure
 
@@ -206,7 +206,7 @@ syn keyword EbuildGnome2Keyword gnome2_scrollkeeper_update 
gnome2_pkg_postinst g
 " EXPORT_FUNCTIONS
 syn match EbuildExportFunctions /EXPORT_FUNCTIONS/ skipwhite 
nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE
 syn match EbuildExportFunctionsFunc contained /\S\+\(\s\|$\)\@=/ skipwhite 
nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE
-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
+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
 
 " Eclass documentation
 syn match EclassDocumentation 
/@\(BLURB\|CODE\|DESCRIPTION\|ECLASS-VARIABLE\|ECLASS\|EXAMPLE\|FUNCTION\|MAINTAINER\|RETURN\|USAGE\|VARIABLE\):/
 contained

Reply via email to