aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2023-03-03 11:08:12 -0800
committerMichał Górny <mgorny@gentoo.org>2023-03-09 06:46:01 +0100
commit9dcae15c83ee35b69320313decc42f115714cbfa (patch)
tree857811c59a8c30feae02658335003146cf1a7c4c
parentsyntax/ebuild.vim: Add support for cmake.eclass (diff)
downloadgentoo-syntax-9dcae15c83ee35b69320313decc42f115714cbfa.tar.gz
gentoo-syntax-9dcae15c83ee35b69320313decc42f115714cbfa.tar.bz2
gentoo-syntax-9dcae15c83ee35b69320313decc42f115714cbfa.zip
syntax/ebuild.vim: Add support for tmpfiles.eclass
Signed-off-by: Patrick McLean <patrick.mclean@sony.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--syntax/ebuild.vim6
1 files changed, 5 insertions, 1 deletions
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