public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tim Harder" <radhermit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: syntax/
Date: Sat,  5 Mar 2016 23:35:17 +0000 (UTC)	[thread overview]
Message-ID: <1457220670.9aa001065e72315399266398b3fa93a575fafe66.radhermit@gentoo> (raw)

commit:     9aa001065e72315399266398b3fa93a575fafe66
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 12:48:27 2016 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> 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
 


             reply	other threads:[~2016-03-06 12:02 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-05 23:35 Tim Harder [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-29 14:15 [gentoo-commits] proj/gentoo-syntax:master commit in: syntax/ Michał Górny
2023-06-14 14:25 Michał Górny
2023-03-11 20:42 Michał Górny
2023-03-11 20:42 Michał Górny
2023-03-09  5:46 Michał Górny
2023-03-09  5:46 Michał Górny
2023-03-09  5:46 Michał Górny
2023-03-09  5:46 Michał Górny
2023-03-09  5:46 Michał Górny
2023-02-01  5:03 Michał Górny
2022-07-13  5:26 Michał Górny
2022-05-02 19:06 Michał Górny
2022-02-20 16:03 Michał Górny
2022-02-20 16:03 Michał Górny
2022-02-20 16:03 Michał Górny
2022-02-20 16:03 Michał Górny
2021-09-01 16:21 Michał Górny
2021-04-28  7:27 Michał Górny
2020-12-16 13:32 Michał Górny
2020-10-05 15:27 Michał Górny
2019-12-13 10:52 Michał Górny
2019-12-13  7:16 Michał Górny
2019-11-27  8:09 Michał Górny
2019-11-27  8:09 Michał Górny
2019-11-27  8:09 Michał Górny
2019-09-30  7:28 Michał Górny
2019-05-25  6:45 Michał Górny
2019-05-25  6:45 Michał Górny
2018-09-15 19:18 Michał Górny
2018-08-21  8:02 Michał Górny
2018-08-21  8:02 Michał Górny
2018-08-21  8:02 Michał Górny
2018-08-21  8:02 Michał Górny
2018-08-21  8:02 Michał Górny
2018-08-21  8:02 Michał Górny
2018-08-21  8:02 Michał Górny
2018-08-21  8:02 Michał Górny
2018-08-20 20:37 Michał Górny
2018-08-20 20:37 Michał Górny
2018-08-20 20:37 Michał Górny
2018-08-20 20:10 Michał Górny
2018-08-14 13:58 Michał Górny
2018-08-14 13:55 Michał Górny
2018-08-14 13:55 Michał Górny
2016-03-05 23:50 Tim Harder
2016-03-05 23:35 Tim Harder
2016-03-05 23:35 Tim Harder
2016-03-05 23:35 Tim Harder
2016-03-05 23:35 Tim Harder
2016-03-05 23:35 Tim Harder
2016-03-05 23:35 Tim Harder
2016-03-05 23:35 Tim Harder
2016-03-05 23:35 Tim Harder
2016-03-05 23:35 Tim Harder
2016-03-05 23:35 Tim Harder
2014-11-29 18:36 Tim Harder
2014-11-29  8:08 Tim Harder
2014-11-29  7:50 Tim Harder
2014-11-29  7:19 Tim Harder
2014-11-29  7:19 Tim Harder
2014-11-29  4:58 Tim Harder
2014-11-29  4:41 Tim Harder
2014-11-29  4:41 Tim Harder
2014-11-02  0:28 Tim Harder
2014-11-02  0:28 Tim Harder
2013-05-31  8:26 Tim Harder
2013-01-24 20:00 Tim Harder
2012-11-06 21:20 Christian Ruppert
2012-04-18 19:47 Christian Ruppert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457220670.9aa001065e72315399266398b3fa93a575fafe66.radhermit@gentoo \
    --to=radhermit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox