syntax/threesome.vim @ 33fc975d65e2

fixes issue #7
author Raphaël Proust <raphlalou@gmail.com>
date Thu, 03 Nov 2011 14:35:09 +0000
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