Changeset 106343


Ignore:
Timestamp:
May 23, 2013, 2:12:01 AM (7 years ago)
Author:
larryv@…
Message:

mpvim: Add highlighting for subport declarations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/mpvim/syntax/portfile.vim

    r106028 r106343  
    115115syn match PortfilePlatformVersion   "\<\d\+\>" nextgroup=PortfilePlatformArch contained skipwhite
    116116syn match PortfilePlatformArch      "\<\l\w\+\>" contained
     117
     118" Subports
     119syn region PortfileSubport       matchgroup=Keyword start="^\s*\zssubport\>" skip="\\$" end="$" contains=PortfileSubportName
     120syn match PortfileSubportName   "\<[\w\.-]\+\>" contained
    117121
    118122" Dependencies
     
    295299hi def link PortfilePlatformArch        Identifier
    296300
     301hi def link PortfileSubportName         Identifier
     302
    297303hi def link PortfileDepends             Keyword
    298304hi def link PortfileDependsEntry        Special
Note: See TracChangeset for help on using the changeset viewer.