[109864] contrib/mpvim/syntax/portfile.vim
larryv at macports.org
larryv at macports.org
Tue Aug 20 16:16:05 PDT 2013
Revision: 109864
https://trac.macports.org/changeset/109864
Author: larryv at macports.org
Date: 2013-08-20 16:16:05 -0700 (Tue, 20 Aug 2013)
Log Message:
-----------
[mpvim] Add highlighting for several option mutators.
Modified Paths:
--------------
contrib/mpvim/syntax/portfile.vim
Modified: contrib/mpvim/syntax/portfile.vim
===================================================================
--- contrib/mpvim/syntax/portfile.vim 2013-08-20 23:02:17 UTC (rev 109863)
+++ contrib/mpvim/syntax/portfile.vim 2013-08-20 23:16:05 UTC (rev 109864)
@@ -33,7 +33,7 @@
syn keyword PortfileRequired homepage platforms
syn match PortfileRequired "\<master_sites\%(-append\|-delete\)\?\>"
syn match PortfileRequired "\<categories\%(-append\|-delete\)\?\>"
-syn match PortfileRequired "\<\%(long_\)\?description\>" nextgroup=PortfileDescription skipwhite
+syn match PortfileRequired "\<\%(long_\)\?description\%(-append\)\?\>" nextgroup=PortfileDescription skipwhite
syn region PortfileDescription matchgroup=Normal start="" skip="\\$" end="$" contained
syn keyword PortfileOptional PortGroup epoch revision patch_sites
@@ -71,7 +71,7 @@
syn keyword PortfilePhasesConf use_configure nextgroup=PortfileYesNo skipwhite
syn match PortfilePhasesConf "\<configure\.cmd\>"
syn match PortfilePhasesConf "\<configure\.\%(env\|\%(c\|ld\|cpp\|cxx\|objc\|f\|fc\|f90\)flags\)\%(-append\|-delete\)\?\>"
-syn match PortfilePhasesConf "\<configure\.\%(pre_\|post_\)\?args\%(-append\|-delete\)\?\>" nextgroup=PortfileConfEntries skipwhite
+syn match PortfilePhasesConf "\<configure\.\%(pre_\|post_\)\?args\%(-append\|-delete\|-replace\|-strsed\)\?\>" nextgroup=PortfileConfEntries skipwhite
syn region PortfileConfEntries matchgroup=Normal start="" skip="\\$" end="$" contained
syn match PortfilePhasesConf "\<configure\.\%(cc\|cpp\|cxx\|objc\|fc\|f77\|f90\|javac\|compiler\)\>"
syn match PortfilePhasesConf "\<configure\.\%(perl\|python\|ruby\|install\|awk\|bison\)\>"
@@ -85,7 +85,7 @@
" Build phase options
syn match PortfilePhasesBuild "\<build\.\%(cmd\|type\|dir\)\>"
-syn match PortfilePhasesBuild "\<build\.\%(pre_\|post_\)\?args\%(-append\|-delete\)\?\>"
+syn match PortfilePhasesBuild "\<build\.\%(pre_\|post_\)\?args\%(-append\|-delete\|-replace\|-strsed\)\?\>"
syn match PortfilePhasesBuild "\<build\.\%(target\|env\)\%(-append\|-delete\)\?\>"
syn keyword PortfilePhasesBuild use_parallel_build nextgroup=PortfileYesNo skipwhite
@@ -98,7 +98,7 @@
" Test destroot options
syn match PortfilePhasesDest "\<destroot\.\%(cmd\|type\|dir\|destdir\|umask\|keepdirs\)\>"
syn match PortfilePhasesDest "\<destroot\.violate_mtree\>" nextgroup=PortfileYesNo skipwhite
-syn match PortfilePhasesDest "\<destroot\.\%(pre_\|post_\)\?args\%(-append\|-delete\)\?\>"
+syn match PortfilePhasesDest "\<destroot\.\%(pre_\|post_\)\?args\%(-append\|-delete\|-replace\|-strsed\)\?\>"
syn match PortfilePhasesDest "\<destroot\.\%(target\|env\)\%(-append\|-delete\)\?\>"
" Variants
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130820/c3ca563a/attachment.html>
More information about the macports-changes
mailing list