3 " Maintainer: Davide Alberani <alberanid@bigfoot.com>
4 " Last Change: 28 Apr 2001
6 " URL: http://digilander.iol.it/alberanid/vim/syntax/remind.vim
8 " remind is a sophisticated reminder service
9 " you can download remind from http://www.roaringpenguin.com/remind.html
13 elseif exists("b:current_syntax")
20 syn keyword remindCommands REM OMIT SET FSET UNSET
21 syn keyword remindExpiry UNTIL SCANFROM SCAN WARN SCHED
22 syn keyword remindTag PRIORITY TAG
23 syn keyword remindTimed AT DURATION
24 syn keyword remindMove ONCE SKIP BEFORE AFTER
25 syn keyword remindSpecial INCLUDE INC BANNER PUSH-OMIT-CONTEXT PUSH CLEAR-OMIT-CONTEXT CLEAR POP-OMIT-CONTEXT POP
26 syn keyword remindRun MSG MSF RUN CAL SATISFY SPECIAL PS PSFILE SHADE MOON
27 syn keyword remindConditional IF ELSE ENDIF IFTRIG
28 syn match remindComment "#.*$"
29 syn region remindString start=+'+ end=+'+ skip=+\\\\\|\\'+ oneline
30 syn region remindString start=+"+ end=+"+ skip=+\\\\\|\\"+ oneline
31 syn keyword remindDebug DEBUG DUMPVARS DUMP ERRMSG FLUSH PRESERVE
32 syn match remindVar "\$[_a-zA-Z][_a-zA-Z0-9]*"
33 syn match remindSubst "%[^ ]"
34 syn match remindAdvanceNumber "\(\*\|+\|-\|++\|--\)[0-9]\+"
36 if version >= 508 || !exists("did_remind_syn_inits")
38 let did_remind_syn_inits = 1
39 command -nargs=+ HiLink hi link <args>
41 command -nargs=+ HiLink hi def link <args>
44 HiLink remindCommands Function
45 HiLink remindExpiry Repeat
46 HiLink remindTag Label
47 HiLink remindTimed Statement
48 HiLink remindMove Statement
49 HiLink remindSpecial Include
50 HiLink remindRun Function
51 HiLink remindConditional Conditional
52 HiLink remindComment Comment
53 HiLink remindString String
54 HiLink remindDebug Debug
55 HiLink remindVar Identifier
56 HiLink remindSubst Constant
57 HiLink remindAdvanceNumber Number
62 let b:current_syntax = "remind"