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

larryv at macports.org larryv at macports.org
Sun Mar 10 23:07:15 PDT 2013


Revision: 103966
          https://trac.macports.org/changeset/103966
Author:   larryv at macports.org
Date:     2013-03-10 23:07:15 -0700 (Sun, 10 Mar 2013)
Log Message:
-----------
mpvim: Highlight "test.run" value as boolean.

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

Modified: contrib/mpvim/syntax/portfile.vim
===================================================================
--- contrib/mpvim/syntax/portfile.vim	2013-03-11 03:12:38 UTC (rev 103965)
+++ contrib/mpvim/syntax/portfile.vim	2013-03-11 06:07:15 UTC (rev 103966)
@@ -83,7 +83,8 @@
 syn keyword PortfilePhasesBuild use_parallel_build nextgroup=PortfileYesNo skipwhite
 
 " Test phase options
-syn match PortfilePhasesTest    "\<test\.\%(run\|cmd\|target\)\>"
+syn match PortfilePhasesTest    "\<test\.run\>" nextgroup=PortfileYesNo skipwhite
+syn match PortfilePhasesTest    "\<test\.\%(cmd\|target\)\>"
 syn match PortfilePhasesTest    "\<test\.env\%(-append\|-delete\)\?\>"
 
 " Test destroot options
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130310/8a577da8/attachment.html>


More information about the macports-changes mailing list