Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: syntax/
Date: Wed, 01 Sep 2021 16:21:28
Message-Id: 1630513203.07f6f93065ffc2aa6fe398eebbf31013a092701b.mgorny@gentoo
1 commit: 07f6f93065ffc2aa6fe398eebbf31013a092701b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 1 16:20:03 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 1 16:20:03 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=07f6f930
7
8 Update eclassdoc tags
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 syntax/ebuild.vim | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim
16 index a7edf68..7578ee6 100644
17 --- a/syntax/ebuild.vim
18 +++ b/syntax/ebuild.vim
19 @@ -267,7 +267,7 @@ syn match EbuildExportFunctionsFunc contained /\S\+\(\s\|$\)\@=/ skipwhite nextg
20 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
21
22 " Eclass documentation
23 -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
24 +syn match EclassDocumentation /@\(AUTHOR\|BLURB\|BUGREPORTS\|CODE\|DEAD\|DEPRECATED\|DESCRIPTION\|DEFAULT_UNSET\|ECLASS-VARIABLE\|ECLASS\|EXAMPLE\|FUNCTION\|INCLUDES_EPREFIX\|INTERNAL\|MAINTAINER\|OUTPUT_VARIABLE\|PRE_INHERIT\|PROVIDES\|RETURN\|REQUIRED\|SUBSECTION\|SUPPORTED_EAPIS\|USAGE\|USER_VARIABLE\|VARIABLE\|VCSURL\):/ contained
25 " use shComment (sh.vim), make it compatible with other comment highlights
26 syn match shComment "^\s*\zs#.*$" contains=EclassDocumentation
27 syn match shComment "\s\zs#.*$" contains=EclassDocumentation