From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BDB30158062 for ; Thu, 9 Mar 2023 05:46:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D50EE08C4; Thu, 9 Mar 2023 05:46:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E96AE08C4 for ; Thu, 9 Mar 2023 05:46:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 336C5335DA6 for ; Thu, 9 Mar 2023 05:46:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8671B8DA for ; Thu, 9 Mar 2023 05:46:24 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1678340761.69a03c0912f426aba62eef8ed0368832fa376729.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: syntax/ X-VCS-Repository: proj/gentoo-syntax X-VCS-Files: syntax/ebuild.vim X-VCS-Directories: syntax/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 69a03c0912f426aba62eef8ed0368832fa376729 X-VCS-Branch: master Date: Thu, 9 Mar 2023 05:46:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a7ebe376-b98b-4404-b87d-c7a6c92cf25e X-Archives-Hash: 006ccf97f16e4061e9df5700c3401571 commit: 69a03c0912f426aba62eef8ed0368832fa376729 Author: Patrick McLean sony com> AuthorDate: Fri Mar 3 19:08:49 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Mar 9 05:46:01 2023 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=69a03c09 syntax/ebuild.vim: Add support for udev.eclass Signed-off-by: Patrick McLean sony.com> Signed-off-by: Michał Górny gentoo.org> syntax/ebuild.vim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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