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 83537138334 for ; Tue, 14 Aug 2018 13:55:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A13B6E08BD; Tue, 14 Aug 2018 13:55:33 +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 77A1BE08BD for ; Tue, 14 Aug 2018 13:55:33 +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 02553335CC0 for ; Tue, 14 Aug 2018 13:55:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 450783A9 for ; Tue, 14 Aug 2018 13:55:30 +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: <1534254926.1f9fef4cdffa63f49d0133910df0c5f527cb43f3.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: syntax/ X-VCS-Repository: proj/gentoo-syntax X-VCS-Files: syntax/glep.vim X-VCS-Directories: syntax/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1f9fef4cdffa63f49d0133910df0c5f527cb43f3 X-VCS-Branch: master Date: Tue, 14 Aug 2018 13:55:30 +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: 1b60abb3-5d1a-470c-8617-e879cf9ca49e X-Archives-Hash: aa96a665345d7aa9d005e1b8dc15746c commit: 1f9fef4cdffa63f49d0133910df0c5f527cb43f3 Author: Michał Górny gentoo org> AuthorDate: Fri Sep 15 12:56:21 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Aug 14 13:55:26 2018 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=1f9fef4c syntax/glep: Support --- around the preamble syntax/glep.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syntax/glep.vim b/syntax/glep.vim index ba652e4..f1ca81c 100644 --- a/syntax/glep.vim +++ b/syntax/glep.vim @@ -33,6 +33,7 @@ syn region glepFoldH4 start=/^\S.\+\n'\{2,\}$/ end=/\(\n\n\S.\+\n[-=']\{2,\}\)\@ " Headers at the top of a GLEP syn region glepHeaders start=/\%^\(.*:\)\@=/ end=/^$/ contains=glepHeaderKey +syn region glepTripleDash start=/\%^---$/ end=/^---$/ contains=glepHeaderKey syn region glepHeaderKey contained start=/^[A-Za-z0-9]/ end=/:/ nextgroup=glepHeaderValue skipwhite syn region glepHeaderValue contained start=/\S/ end=/^\S\|^$/me=e-1 contains=glepHeaderEmail,glepHeaderCVSVar syn match glepHeaderEmail contained /<[-a-zA-Z0-9\_\.]\+@[-a-zA-Z0-9\_\.]\+>/ @@ -51,6 +52,7 @@ hi link glepHeading4 Preproc hi link glepHeading5 Special hi link glepHeaders Define +hi link glepTripleDash Define hi link glepHeaderKey Keyword hi link glepHeaderValue String hi link glepHeaderEmail Special