commit:     8c5364a2740f3a363e261542bb7800f7999de057
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 12 07:30:26 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 14 13:58:33 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=8c5364a2

syntax/ebuild.vim: Support more eclassdoc tags

Closes: https://github.com/gentoo/gentoo-syntax/pull/20

 syntax/ebuild.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim
index c9e8cea..a6b5299 100644
--- a/syntax/ebuild.vim
+++ b/syntax/ebuild.vim
@@ -255,7 +255,7 @@ 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\)\@<!/
 skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE
 
 " Eclass documentation
-syn match EclassDocumentation 
/@\(BLURB\|CODE\|DESCRIPTION\|ECLASS-VARIABLE\|ECLASS\|EXAMPLE\|FUNCTION\|MAINTAINER\|RETURN\|USAGE\|VARIABLE\):/
 contained
+syn match EclassDocumentation 
/@\(AUTHOR\|BLURB\|BUGREPORTS\|CODE\|DEAD\|DESCRIPTION\|DEFAULT_UNSET\|ECLASS-VARIABLE\|ECLASS\|EXAMPLE\|FUNCTION\|INTERNAL\|MAINTAINER\|OUTPUT_VARIABLE\|PRE_INHERIT\|RETURN\|REQUIRED\|ROFF\|SUPPORTED_EAPIS\|USAGE\|USER_VARIABLE\|VARIABLE\|VCSURL\):/
 contained
 " use shComment (sh.vim), make it compatible with other comment highlights
 syn match      shComment        "^\s*\zs#.*$"   contains=EclassDocumentation
 syn match      shComment        "\s\zs#.*$"     contains=EclassDocumentation

Reply via email to