diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2023-03-03 11:08:49 -0800 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-09 06:46:01 +0100 |
commit | 69a03c0912f426aba62eef8ed0368832fa376729 (patch) | |
tree | d2b7637d831ab2ecddd41819345f15b76f2dd240 | |
parent | syntax/ebuild.vim: Add support for tmpfiles.eclass (diff) | |
download | gentoo-syntax-69a03c0912f426aba62eef8ed0368832fa376729.tar.gz gentoo-syntax-69a03c0912f426aba62eef8ed0368832fa376729.tar.bz2 gentoo-syntax-69a03c0912f426aba62eef8ed0368832fa376729.zip |
syntax/ebuild.vim: Add support for udev.eclass
Signed-off-by: Patrick McLean <patrick.mclean@sony.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | syntax/ebuild.vim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim index e87e031..7c6138b 100644 --- a/syntax/ebuild.vim +++ b/syntax/ebuild.vim @@ -271,6 +271,10 @@ syn keyword EbuildCMakeKeyword cmake_src_test cmake_src_install " tmpfiles syn keyword EbuildTmpfilesKeyword dotmpfiles newtmpfiles tmpfiles_process +" udev +syn keyword EbuildUdevKeyword get_udevdir udev_dorules udev_newrules udev_reload +syn keyword EbuildDeprecatedKeyword udev_get_udevdir + " EXPORT_FUNCTIONS syn match EbuildExportFunctions /EXPORT_FUNCTIONS/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE syn match EbuildExportFunctionsFunc contained /\S\+\(\s\|$\)\@=/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE @@ -340,7 +344,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,EbuildTmpfilesKeyword +syn cluster EbuildThings add=EbuildCMakeKeyword,EbuildTmpfilesKeyword,EbuildUdevKeyword syn cluster shCommandSubList add=@EbuildThings syn cluster shCommentGroup add=GentooBug @@ -384,6 +388,7 @@ hi def link EbuildUnpackerKeyword Identifier hi def link EbuildUserKeyword Identifier hi def link EbuildCMakeKeyword Identifier hi def link EbuildTmpfilesKeyword Identifier +hi def link EbuildUdevKeyword Identifier hi def link EbuildDistutilsFunction Special hi def link EclassDocumentationTag Identifier |