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 4D4BE15808B for ; Sun, 20 Feb 2022 16:03:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AD10E086A; Sun, 20 Feb 2022 16:03:10 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 E3659E086A for ; Sun, 20 Feb 2022 16:03:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 14A4A3437E2 for ; Sun, 20 Feb 2022 16:03:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AE152EB for ; Sun, 20 Feb 2022 16:03:07 +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: <1645372794.b45300366c9dde34326336277687e28ce5568982.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: syntax/ X-VCS-Repository: proj/gentoo-syntax X-VCS-Files: syntax/gentoo-make-conf.vim X-VCS-Directories: syntax/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b45300366c9dde34326336277687e28ce5568982 X-VCS-Branch: master Date: Sun, 20 Feb 2022 16:03:07 +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: e957d806-4ea3-4e35-9e9f-3f76b6a60c6b X-Archives-Hash: 7589397f8661d663b52e9d80927782a9 commit: b45300366c9dde34326336277687e28ce5568982 Author: Anna “CyberTailor” sysrq in> AuthorDate: Thu Feb 17 16:54:46 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Feb 20 15:59:54 2022 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=b4530036 syntax/gentoo-make-conf: add ALLOW_TEST Signed-off-by: Anna Vyalkova sysrq.in> Closes: https://github.com/gentoo/gentoo-syntax/pull/43 Signed-off-by: Michał Górny gentoo.org> syntax/gentoo-make-conf.vim | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/syntax/gentoo-make-conf.vim b/syntax/gentoo-make-conf.vim index e2d9db4..b37dee3 100644 --- a/syntax/gentoo-make-conf.vim +++ b/syntax/gentoo-make-conf.vim @@ -17,7 +17,7 @@ endif runtime syntax/gentoo-common.vim -syn cluster GentooMakeConfEC add=GentooMakeConfEUse,GentooMakeConfEAK,GentooMakeConfEAL,GentooMakeConfEAP,GentooMakeConfECFLAGS,GentooMakeConfELDFLAGS,GentooMakeConfEMAKEOPTS,GentooMakeConfECHOST,GentooMakeConfEFEATURES,GentooMakeConfEMISC,GentooMakeConfEMISCK,GentooMakeConfEMISCKE,GentooMakeConfEMISCN +syn cluster GentooMakeConfEC add=GentooMakeConfEUse,GentooMakeConfEAK,GentooMakeConfEAL,GentooMakeConfEAP,GentooMakeConfEAT,GentooMakeConfECFLAGS,GentooMakeConfELDFLAGS,GentooMakeConfEMAKEOPTS,GentooMakeConfECHOST,GentooMakeConfEFEATURES,GentooMakeConfEMISC,GentooMakeConfEMISCK,GentooMakeConfEMISCKE,GentooMakeConfEMISCN syn region GentooMakeConfE start=/^/ end=/$/ contains=@GentooMakeConfEC,GentooMakeConfComment " MISC {{{ @@ -118,6 +118,20 @@ hi def link GentooMakeConfEAPIN Error hi def link GentooMakeConfEAPIX Preproc " }}} +" ALLOW_TEST {{{ +syn match GentooMakeConfEAT /ALLOW_TEST/ contained nextgroup=GentooMakeConfEATE +syn match GentooMakeConfEATE /=/ contained nextgroup=GentooMakeConfEATV skipwhite +syn cluster GentooMakeConfEATIC add=GentooMakeConfEATIP,GentooMakeConfEATIX +syn region GentooMakeConfEATV contained start=/"/ end=/"/ contains=@GentooMakeConfEATIC +syn match GentooMakeConfEATIP /\s*\(network\|all\)\s*/ contained +syn match GentooMakeConfEATIX /\\.\|\$\({[^}]\+}\|[a-zA-Z0-9\-\_]\+\)/ contained + +hi def link GentooMakeConfEAT Identifier +hi def link GentooMakeConfEATV String +hi def link GentooMakeConfEATIP Keyword +hi def link GentooMakeConfEATIX Preproc +" }}} + " C*FLAGS and F*FLAGS {{{ syn match GentooMakeConfECFLAGS /C\(XX\)\?FLAGS/ contained nextgroup=GentooMakeConfECFLAGSE syn match GentooMakeConfECFLAGS /FC\?FLAGS/ contained nextgroup=GentooMakeConfECFLAGSE