" =============================================================== " OreMemo syntax " Web notes (http://espion.s7.xrea.com/) " =============================================================== exe 'syntax match OreMemoTitle /^' . g:orememo_title . '.*$/' syntax match OreMemoComment display '^".*' syntax match OreMemoDate display '^\[\d\{4}-\d\{2}-\d\{2}\]$' syntax match OreMemoDate display '^\[\d\{4}-\d\{2}-\d\{2} \d\{2}:\d\{2}:\d\{2}\]$' syntax match OreMemoPoint display '^\* ' syntax match OreMemoURL display "http[a-zA-Z0-9-_.!%~*/?:@&=+$,#;]\+" syntax match OreMemoExtract display "^>.*$" syntax region OreMemoChTitle start="^[+*]\s" end=":\s" end="^$" contains=OreMemoPoint keepend highlight def link OreMemoComment Comment highlight def link OreMemoTitle Statement highlight def link OreMemoChTitle Comment highlight def link OreMemoURL Directory highlight def link OreMemoExtract SpecialComment highlight def link OreMemoDate Title highlight def link OreMemoPoint Type