aurum / syntax / aurumstatus.vim

if exists('b:current_syntax')

syn region auStatusModified matchgroup=auStatusModifiedStart start=/\m^[\-\^+*]\?M / end=/\v$/ contains=auStatusFile
syn region auStatusAdded    matchgroup=auStatusAddedStart    start=/\m^[\-\^+*]\?A / end=/\v$/ contains=auStatusFile
syn region auStatusRemoved  matchgroup=auStatusRemovedStart  start=/\m^[\-\^+*]\?R / end=/\v$/ contains=auStatusFile
syn region auStatusDeleted  matchgroup=auStatusDeletedStart  start=/\m^[\-\^+*]\?! / end=/\v$/ contains=auStatusFile
syn region auStatusUnknown  matchgroup=auStatusUnknownStart  start=/\m^[\-\^+*]\?? / end=/\v$/ contains=auStatusFile
syn region auStatusIgnored  matchgroup=auStatusIgnoredStart  start=/\m^[\-\^+*]\?I / end=/\v$/ contains=auStatusFile
syn region auStatusClean    matchgroup=auStatusCleanStart    start=/\m^[\-\^+*]\?C / end=/\v$/ contains=auStatusFile

hi def link auStatusModifiedStart  auStatusModified
hi def link auStatusAddedStart     auStatusAdded
hi def link auStatusRemovedStart   auStatusRemoved
hi def link auStatusDeletedStart   auStatusDeleted
hi def link auStatusUnknownStart   auStatusUnknown
hi def link auStatusIgnoredStart   auStatusIgnored
hi def link auStatusCleanStart     auStatusClean

hi def link auStatusModified PreProc
hi def link auStatusAdded    Type
hi def link auStatusRemoved  String
hi def link auStatusDeleted  Underlined
hi def link auStatusUnknown  Identifier
hi def link auStatusIgnored  Comment

let b:current_syntax=expand('<sfile>:t:r')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.