[100582] contrib/mpvim/syntax/portfile.vim

raimue at macports.org raimue at macports.org
Sun Dec 16 07:03:01 PST 2012


Revision: 100582
          https://trac.macports.org/changeset/100582
Author:   raimue at macports.org
Date:     2012-12-16 07:03:01 -0800 (Sun, 16 Dec 2012)
Log Message:
-----------
contrib/mpvim:
Resolve duplicate checksums keyword and add -append/-delete to it

Modified Paths:
--------------
    contrib/mpvim/syntax/portfile.vim

Modified: contrib/mpvim/syntax/portfile.vim
===================================================================
--- contrib/mpvim/syntax/portfile.vim	2012-12-16 14:54:44 UTC (rev 100581)
+++ contrib/mpvim/syntax/portfile.vim	2012-12-16 15:03:01 UTC (rev 100582)
@@ -28,7 +28,7 @@
 syn match PortfileYesNo 		"\(yes\|no\)" contained
 
 syn keyword PortfileRequired 	PortSystem name version maintainers
-syn keyword PortfileRequired 	homepage master_sites categories platforms checksums
+syn keyword PortfileRequired 	homepage master_sites categories platforms
 syn match PortfileRequired 		"^\(long_\)\?description" nextgroup=PortfileDescription skipwhite
 syn region PortfileDescription 	matchgroup=Normal start="" skip="\\$" end="$" contained
 
@@ -37,7 +37,7 @@
 syn keyword PortfileOptional 	patch_sites distfiles dist_subdir license conflicts
 syn keyword PortfileOptional 	replaced_by supported_archs
 
-syn keyword PortfileOptional 	checksums nextgroup=PortfileChecksums skipwhite
+syn match  PortfileOptional 	"checksums\(\-\(append\|delete\)\)\?" nextgroup=PortfileChecksums skipwhite
 syn region PortfileChecksums 	matchgroup=Normal start="" skip="\\$" end="$" contained contains=PortfileChecksumsType
 syn keyword PortfileChecksumsType md5 sha1 rmd160 sha256 contained
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121216/06508bae/attachment-0001.html>


More information about the macports-changes mailing list