From 347fa38461e86eda45f10a275b038386d4f608e1 Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Fri, 3 Mar 2023 11:09:11 -0800 Subject: syntax/ebuild.vim: Add support for check-reqs.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick McLean Closes: https://github.com/gentoo/gentoo-syntax/pull/55 Signed-off-by: Michał Górny --- syntax/ebuild.vim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim index 7c6138b..17c774c 100644 --- a/syntax/ebuild.vim +++ b/syntax/ebuild.vim @@ -275,6 +275,9 @@ syn keyword EbuildTmpfilesKeyword dotmpfiles newtmpfiles tmpfiles_process syn keyword EbuildUdevKeyword get_udevdir udev_dorules udev_newrules udev_reload syn keyword EbuildDeprecatedKeyword udev_get_udevdir +" check-reqs +syn keyword EbuildCheckReqsKeyword check-reqs_pkg_setup check-reqs_pkg_pretend + " EXPORT_FUNCTIONS syn match EbuildExportFunctions /EXPORT_FUNCTIONS/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE syn match EbuildExportFunctionsFunc contained /\S\+\(\s\|$\)\@=/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE @@ -344,7 +347,8 @@ syn cluster EbuildThings add=EbuildDependApacheKeyword,EbuildApacheModuleKeyword syn cluster EbuildThings add=EbuildVirtualXKeyword,EbuildGnome2Keyword,EbuildAutoKeyword syn cluster EbuildThings add=EbuildDeprecatedKeyword,EbuildUnpackerKeyword,EbuildUserKeyword syn cluster EbuildThings add=EbuildCDROMKeyword,EbuildLinuxInfoKeyword,EbuildDistutilsFunction -syn cluster EbuildThings add=EbuildCMakeKeyword,EbuildTmpfilesKeyword,EbuildUdevKeyword +syn cluster EbuildThings add=EbuildCMakeKeyword,EbuildCMakeFunction,EbuildTmpfilesKeyword +syn cluster EbuildThings add=EbuildUdevKeyword,EbuildCheckReqsKeyword syn cluster shCommandSubList add=@EbuildThings syn cluster shCommentGroup add=GentooBug @@ -389,6 +393,7 @@ hi def link EbuildUserKeyword Identifier hi def link EbuildCMakeKeyword Identifier hi def link EbuildTmpfilesKeyword Identifier hi def link EbuildUdevKeyword Identifier +hi def link EbuildCheckReqsKeyword Identifier hi def link EbuildDistutilsFunction Special hi def link EclassDocumentationTag Identifier -- cgit v1.2.3-65-gdbad