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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7D2EB138334 for ; Tue, 21 Aug 2018 08:02:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D451E0897; Tue, 21 Aug 2018 08:02:47 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 761D8E0897 for ; Tue, 21 Aug 2018 08:02:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 10A8B335D4E for ; Tue, 21 Aug 2018 08:02:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C664A3B9 for ; Tue, 21 Aug 2018 08:02:41 +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: <1534838502.2c53a6edbd65fd15397b41ff3bc1470af44d5b56.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: syntax/ X-VCS-Repository: proj/gentoo-syntax X-VCS-Files: syntax/gentoo-package-license.vim X-VCS-Directories: syntax/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2c53a6edbd65fd15397b41ff3bc1470af44d5b56 X-VCS-Branch: master Date: Tue, 21 Aug 2018 08:02:41 +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: 66dd14a0-c076-4418-b80c-974b7b0d3575 X-Archives-Hash: 3e768fd23d84d6723af8da0dc90afd9c commit: 2c53a6edbd65fd15397b41ff3bc1470af44d5b56 Author: Michał Górny gentoo org> AuthorDate: Tue Aug 21 08:01:42 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Aug 21 08:01:42 2018 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=2c53a6ed syntax/gentoo-package-license: Distinct hi for @group/-disable syntax/gentoo-package-license.vim | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/syntax/gentoo-package-license.vim b/syntax/gentoo-package-license.vim index 7e64c73..a80c3cd 100644 --- a/syntax/gentoo-package-license.vim +++ b/syntax/gentoo-package-license.vim @@ -18,10 +18,17 @@ endif runtime syntax/gentoo-package-common.vim -syn match GentooPackageLicenseLicense contained /-\?@\?\([a-zA-Z0-9\-_.+]\+\|\*\)/ - \ nextgroup=GentooPackageLicenseLicense skipwhite -syn cluster GentooPackagePostAtom contains=GentooPackageLicenseLicense +syn match GentooPackageLicenseLicense contained /\([a-zA-Z0-9\-_.+]\+\|\*\)/ + \ nextgroup=@GentooPackagePostAtom skipwhite +syn match GentooPackageLicenseUnLicense contained /-\([a-zA-Z0-9\-_.+]\+\|\*\)/ + \ nextgroup=@GentooPackagePostAtom skipwhite +syn match GentooPackageLicenseLicenseGroup contained /-\?@[a-zA-Z0-9\-_.+]\+/ + \ nextgroup=@GentooPackagePostAtom skipwhite +syn cluster GentooPackagePostAtom contains=GentooPackageLicenseLicense, + \ GentooPackageLicenseUnLicense,GentooPackageLicenseLicenseGroup -hi def link GentooPackageLicenseLicense Keyword +hi def link GentooPackageLicenseLicense Special +hi def link GentooPackageLicenseUnLicense Keyword +hi def link GentooPackageLicenseLicenseGroup Type let b:current_syntax = "gentoo-package-license"