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 37195138A4A for ; Sun, 2 Nov 2014 00:28:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9B83E0B96; Sun, 2 Nov 2014 00:28:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FD48E0B96 for ; Sun, 2 Nov 2014 00:28:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C82523403B5 for ; Sun, 2 Nov 2014 00:28:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 613B593E4 for ; Sun, 2 Nov 2014 00:28:27 +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: <1414885453.9c8f50feb8230b5b78259811cbf52395f495d9ce.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: 9c8f50feb8230b5b78259811cbf52395f495d9ce X-VCS-Branch: master Date: Sun, 2 Nov 2014 00:28:27 +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: 4303e0b2-068d-4728-ad55-2a7e972f3ec2 X-Archives-Hash: ebcfd71d77d4cf1fbcc7ccba654d30f0 commit: 9c8f50feb8230b5b78259811cbf52395f495d9ce Author: Tim Harder gentoo org> AuthorDate: Sat Nov 1 23:44:13 2014 +0000 Commit: Tim Harder gentoo org> CommitDate: Sat Nov 1 23:44:13 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-syntax.git;a=commit;h=9c8f50fe don't be overly strict with ebuild keywords Don't flag noarch keywords that Funtoo uses (* and ~*) as errors. --- syntax/ebuild.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim index 8db1b2c..c18c20a 100644 --- a/syntax/ebuild.vim +++ b/syntax/ebuild.vim @@ -224,8 +224,8 @@ syn match EbuildError /^\(P\|PN\|PV\|PR\|PVR\|PF\|A\)=/ syn match EbuildError ~^S="\?\${\?WORKDIR}\?/\${\?P}\?"\?\s*$~ " not allowed syn match EbuildError /SLOT\s*=\s*\(""\|''\|$\)/ -" not allowed -syn match EbuildError /KEYWORDS\s*=\s*.*[^-]\*.*/ +" Don't be overly strict (Funtoo allows * and ~* as noarch ebuild keywords) +" syn match EbuildError /KEYWORDS\s*=\s*.*[^-]\*.*/ " evil syntax, ask Mr_Bones_ syn match EbuildError /^[a-zA-Z0-9\-\_]\+ ()/ syn match EbuildError /^[a-zA-Z0-9\-\_]\+(){/