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 EDCFE138334 for ; Mon, 20 Aug 2018 20:10:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0CA6E078A; Mon, 20 Aug 2018 20:10:52 +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 C264CE078A for ; Mon, 20 Aug 2018 20:10:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 29FD3335D09 for ; Mon, 20 Aug 2018 20:10:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 437A73A2 for ; Mon, 20 Aug 2018 20:10:49 +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: <1534795778.6d6e37e194b230b5713cb3853e1516903342df48.mgorny@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: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6d6e37e194b230b5713cb3853e1516903342df48 X-VCS-Branch: master Date: Mon, 20 Aug 2018 20:10:49 +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: 3686e250-5792-4980-a75e-890464b4f11d X-Archives-Hash: b58622d65261b151065cd80b4d8687cd commit: 6d6e37e194b230b5713cb3853e1516903342df48 Author: Michał Górny gentoo org> AuthorDate: Mon Aug 20 20:09:38 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Aug 20 20:09:38 2018 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=6d6e37e1 syntax/ebuild: Highlight DESCRIPTION if too long Bug: https://bugs.gentoo.org/637100 syntax/ebuild.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/syntax/ebuild.vim b/syntax/ebuild.vim index a6b5299..f9f0eba 100644 --- a/syntax/ebuild.vim +++ b/syntax/ebuild.vim @@ -299,6 +299,9 @@ syn match EbuildErrorC /`which.*`\|$(which.*)/ " Special homepage handling syn match EbuildHomePageError /^HOMEPAGE=.*\(\${[^}]*}\?\|\([^\\]\)\@<=\$[^{]\w*\).*$/ +" Too long descriptions +syn match EbuildErrorC /^DESCRIPTION=['"].\{81,\}['"]$/ + " clusters syn cluster EbuildThings contains=EbuildCoreKeyword,EbuildFunctions,EbuildInherit,EbuildEutilsKeyword syn cluster EbuildThings add=EbuildLibtoolKeyword,EbuildFixHeadTailsKeyword,EbuildWebappKeyword