From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 64C5459CA3 for ; Sun, 6 Mar 2016 12:02:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2DEF21C061 for ; Sun, 6 Mar 2016 12:02:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43181E07E1 for ; Sat, 5 Mar 2016 23:35:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 58EED3408CF for ; Sat, 5 Mar 2016 23:35:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F289D2337 for ; Sat, 5 Mar 2016 23:35:17 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1457220670.9aa001065e72315399266398b3fa93a575fafe66.radhermit@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: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 9aa001065e72315399266398b3fa93a575fafe66 X-VCS-Branch: master Date: Sat, 5 Mar 2016 23:35:17 +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-Archives-Salt: 9510f99b-f77f-40d1-aefb-c45e0f3256e5 X-Archives-Hash: a7af3d52142a21d1f81f7308d22f82f9 commit: 9aa001065e72315399266398b3fa93a575fafe66 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 19 12:48:27 2016 +0000 Commit: Tim Harder gentoo org> CommitDate: Sat Mar 5 23:31:10 2016 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=9aa00106 syntax/ebuild: Highlight banned & deprecated functions as errors syntax/ebuild.vim | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim index e46dffe..9bed29a 100644 --- a/syntax/ebuild.vim +++ b/syntax/ebuild.vim @@ -28,18 +28,22 @@ runtime syntax/gentoo-common.vim syn match bkshFunction "^\s*\<\h[0-9a-zA-Z_\-\.]*\>\s*()" skipwhite skipnl contains=bkshFunctionParen " Default keywords -syn keyword EbuildCoreKeyword use has_version best_version use_with use_enable check_KV +syn keyword EbuildCoreKeyword use has_version best_version use_with use_enable syn keyword EbuildCoreKeyword keepdir econf die einstall einfo ewarn eerror diropts -syn keyword EbuildCoreKeyword dobin docinto dodoc doexe dohard doheader dohtml doinfo doins +syn keyword EbuildCoreKeyword dobin docinto dodoc doexe doheader doinfo doins syn keyword EbuildCoreKeyword dolib dolib.a dolib.so doman dosbin dosym emake exeinto syn keyword EbuildCoreKeyword exeopts fowners fperms insinto insopts into libopts newbin -syn keyword EbuildCoreKeyword newexe newheader newins newman newsbin prepall prepalldocs -syn keyword EbuildCoreKeyword prepallinfo prepallman prepallstrip has unpack dosed into -syn keyword EbuildCoreKeyword doinitd doconfd doenvd dojar domo dodir ebegin eend +syn keyword EbuildCoreKeyword newexe newheader newins newman newsbin has unpack into +syn keyword EbuildCoreKeyword doinitd doconfd doenvd domo dodir ebegin eend syn keyword EbuildCoreKeyword newconfd newdoc newenvd newinitd newlib.a newlib.so -syn keyword EbuildCoreKeyword hasq hasv useq usev usex elog eapply eapply_user +syn keyword EbuildCoreKeyword hasv usev usex elog eapply eapply_user syn keyword EbuildCoreKeyword einstalldocs in_iuse get_libdir +" Deprecated and banned functions +syn keyword EbuildDeprecatedKeyword check_KV dohard dohtml prepall prepalldocs +syn keyword EbuildDeprecatedKeyword prepallinfo prepallman prepallstrip dosed +syn keyword EbuildDeprecatedKeyword dojar hasq useq + " Sandbox syn keyword EbuildCoreKeyword addread addwrite adddeny addpredict @@ -266,12 +270,14 @@ syn cluster EbuildThings add=EbuildSVNKeyword,EbuildAltKeyword,EbuildRPMKeyword, syn cluster EbuildThings add=EbuildCheckKernelKeyword,EbuildPerlModuleKeyword,EbuildDistutilsKeyword syn cluster EbuildThings add=EbuildDependApacheKeyword,EbuildApacheModuleKeyword,EbuildPamKeyword syn cluster EbuildThings add=EbuildVirtualXKeyword,EbuildGnome2Keyword,EbuildAutoKeyword +syn cluster EbuildThings add=EbuildDeprecatedKeyword syn cluster shCommandSubList add=@EbuildThings syn cluster shCommentGroup add=GentooBug syn cluster shDblQuoteList add=EbuildErrorC hi def link EbuildCoreKeyword Keyword +hi def link EbuildDeprecatedKeyword Error hi def link EbuildFunctions Special hi def link EbuildInherit Include