[109994] branches/larryv-mpvim-rewrite/syntax/portfile.vim
larryv at macports.org
larryv at macports.org
Fri Aug 23 09:32:13 PDT 2013
Revision: 109994
https://trac.macports.org/changeset/109994
Author: larryv at macports.org
Date: 2013-08-23 09:32:12 -0700 (Fri, 23 Aug 2013)
Log Message:
-----------
Also highlight options in command substitutions and one-line brace quotations.
Modified Paths:
--------------
branches/larryv-mpvim-rewrite/syntax/portfile.vim
Modified: branches/larryv-mpvim-rewrite/syntax/portfile.vim
===================================================================
--- branches/larryv-mpvim-rewrite/syntax/portfile.vim 2013-08-23 16:22:25 UTC (rev 109993)
+++ branches/larryv-mpvim-rewrite/syntax/portfile.vim 2013-08-23 16:32:12 UTC (rev 109994)
@@ -28,7 +28,7 @@
function AddPortfileOptionPatterns(patterns)
execute 'syntax match PortfileOption'
- \ '"^\s*\zs\%(' .
+ \ '"\%(^\|{\|\[\)\s*\zs\%(' .
\ join(a:patterns, '\|') .
\ '\)\%(-append\|-delete\|-replace\|-strsed\)\?\ze\%(\s\+\|$\)"'
endfunction
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130823/522a4be6/attachment.html>
More information about the macports-changes
mailing list