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 12BC015802F 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 E8D21E08EB; 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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4114E08EB 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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC84D33BED5 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 60D298D6 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: <1678340760.3af5be21dba86a4ccdc399ac39eb7ec294efe6d6.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: 3af5be21dba86a4ccdc399ac39eb7ec294efe6d6 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: 75901d93-010a-4cd7-978e-8a0a643f6b33 X-Archives-Hash: 374e51f8a5f8434e050ef85e490f14e9 commit: 3af5be21dba86a4ccdc399ac39eb7ec294efe6d6 Author: Patrick McLean sony com> AuthorDate: Fri Mar 3 19:06:42 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Mar 9 05:46:00 2023 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=3af5be21 syntax/ebuild.vim: Add support for cmake.eclass Signed-off-by: Patrick McLean sony.com> Signed-off-by: Michał Górny gentoo.org> syntax/ebuild.vim | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim index c012801..0027d5c 100644 --- a/syntax/ebuild.vim +++ b/syntax/ebuild.vim @@ -262,6 +262,12 @@ syn keyword EbuildUnpackerKeyword unpack_pdv unpack_makeself syn keyword EbuildDeprecatedKeyword enewuser enewgroup syn keyword EbuildUserKeyword egetent +" cmake +syn keyword EbuildCMakeKeyword cmake_run_in cmake_comment_add_subdirectory cmake_use_find_package +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 + " EXPORT_FUNCTIONS syn match EbuildExportFunctions /EXPORT_FUNCTIONS/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE syn match EbuildExportFunctionsFunc contained /\S\+\(\s\|$\)\@=/ skipwhite nextgroup=EbuildExportFunctionsFunc,EbuildExportFunctionsFuncE @@ -331,6 +337,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 shCommandSubList add=@EbuildThings syn cluster shCommentGroup add=GentooBug @@ -372,6 +379,7 @@ hi def link EbuildCDROMKeyword Identifier hi def link EbuildLinuxInfoKeyword Identifier hi def link EbuildUnpackerKeyword Identifier hi def link EbuildUserKeyword Identifier +hi def link EbuildCMakeKeyword Identifier hi def link EbuildDistutilsFunction Special hi def link EclassDocumentationTag Identifier