aboutsummaryrefslogtreecommitdiff
path: root/syntax
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-08-12 09:30:26 +0200
committerMichał Górny <mgorny@gentoo.org>2018-08-14 15:58:33 +0200
commit8c5364a2740f3a363e261542bb7800f7999de057 (patch)
tree89fd2c38073cee0eac85da655ac47919afaafd4e /syntax
parentnewebuild: RDEPEND-then-DEPEND is more common (diff)
downloadgentoo-syntax-8c5364a2740f3a363e261542bb7800f7999de057.tar.gz
gentoo-syntax-8c5364a2740f3a363e261542bb7800f7999de057.tar.bz2
gentoo-syntax-8c5364a2740f3a363e261542bb7800f7999de057.zip
syntax/ebuild.vim: Support more eclassdoc tags
Closes: https://github.com/gentoo/gentoo-syntax/pull/20
Diffstat (limited to 'syntax')
-rw-r--r--syntax/ebuild.vim2
1 files changed, 1 insertions, 1 deletions
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