From dc914aa7dd15b5e7d2779a281ac02692061b6f07 Mon Sep 17 00:00:00 2001 From: Anna Vyalkova Date: Wed, 13 Jul 2022 06:05:01 +0500 Subject: syntax/ebuild: update eclassdoc syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * rename ECLASS-VARIABLE to ECLASS_VARIABLE * highlight tags that don't take a value Signed-off-by: Anna Vyalkova Closes: https://github.com/gentoo/gentoo-syntax/pull/48 Signed-off-by: Michał Górny --- syntax/ebuild.vim | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim index 7578ee6..85468c9 100644 --- a/syntax/ebuild.vim +++ b/syntax/ebuild.vim @@ -267,10 +267,12 @@ syn match EbuildExportFunctionsFunc contained /\S\+\(\s\|$\)\@=/ skipwhite nextg 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\|pkg_info\)\@