aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-11-28 23:15:45 -0800
committerTim Harder <radhermit@gentoo.org>2014-11-28 23:15:45 -0800
commitc1f92729082781148a27689eb983ecc3736ba387 (patch)
tree8f9242e979af6d47ef19c8f2200b4326d8f22117
parentfix minor spelling errors (diff)
downloadgentoo-syntax-c1f92729082781148a27689eb983ecc3736ba387.tar.gz
gentoo-syntax-c1f92729082781148a27689eb983ecc3736ba387.tar.bz2
gentoo-syntax-c1f92729082781148a27689eb983ecc3736ba387.zip
allow bracketed variables in exported functions for eclasses
X-Gentoo-Bug: 496458
-rw-r--r--syntax/ebuild.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim
index 649bc47..497d743 100644
--- a/syntax/ebuild.vim
+++ b/syntax/ebuild.vim
@@ -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_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
+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
" Eclass documentation
syn match EclassDocumentation /@\(BLURB\|CODE\|DESCRIPTION\|ECLASS-VARIABLE\|ECLASS\|EXAMPLE\|FUNCTION\|MAINTAINER\|RETURN\|USAGE\|VARIABLE\):/ contained