From 9dcae15c83ee35b69320313decc42f115714cbfa Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Fri, 3 Mar 2023 11:08:12 -0800 Subject: syntax/ebuild.vim: Add support for tmpfiles.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick McLean Signed-off-by: Michał Górny --- syntax/ebuild.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim index 0027d5c..e87e031 100644 --- a/syntax/ebuild.vim +++ b/syntax/ebuild.vim @@ -268,6 +268,9 @@ syn keyword EbuildCMakeKeyword cmake_build mycmakeargs MYCMAKEARGS syn keyword EbuildCMakeKeyword cmake_src_prepare cmake_src_configure cmake_src_compile syn keyword EbuildCMakeKeyword cmake_src_test cmake_src_install +" tmpfiles +syn keyword EbuildTmpfilesKeyword dotmpfiles newtmpfiles tmpfiles_process + " EXPORT_FUNCTIONS syn match EbuildExportFunctions /EXPORT_FUNCTIONS/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE syn match EbuildExportFunctionsFunc contained /\S\+\(\s\|$\)\@=/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE @@ -337,7 +340,7 @@ 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 +syn cluster EbuildThings add=EbuildCMakeKeyword,EbuildTmpfilesKeyword syn cluster shCommandSubList add=@EbuildThings syn cluster shCommentGroup add=GentooBug @@ -380,6 +383,7 @@ hi def link EbuildLinuxInfoKeyword Identifier hi def link EbuildUnpackerKeyword Identifier hi def link EbuildUserKeyword Identifier hi def link EbuildCMakeKeyword Identifier +hi def link EbuildTmpfilesKeyword Identifier hi def link EbuildDistutilsFunction Special hi def link EclassDocumentationTag Identifier -- cgit v1.2.3-65-gdbad