syntax/threesome.vim @ 1d6f4048a9b3
v0.1.0
Increment version.
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 30 Jun 2011 18:20:21 -0400 |
parents |
83130fbbc7f9 |
children |
(none) |
let b:current_syntax = 'threesome'
syn match ThreesomeModes '\v^[^|]+'
syn match ThreesomeLayout '\v\|[^\|]+\|'
syn match ThreesomeCommands '\v[^\|]+\|$'
syn match ThreesomeHeading '\v(Threesome Modes|Threesome Commands|Layout -\>)' contained containedin=ThreesomeModes,ThreesomeLayout,ThreesomeCommands
syn match ThreesomeSep '\v\|' contained containedin=ThreesomeLayout,ThreesomeCommands
syn match ThreesomeCurrentMode '\v\*\S+' contained containedin=ThreesomeModes
hi def link ThreesomeSep Comment
hi def link ThreesomeHeading Comment
hi def link ThreesomeModes Normal
hi def link ThreesomeCurrentMode Keyword