7
|
1 " Vim syntax file
|
|
2 " Language: Remind
|
|
3 " Maintainer: Davide Alberani <alberanid@bigfoot.com>
|
|
4 " Last Change: 28 Apr 2001
|
|
5 " Version: 0.2
|
|
6 " URL: http://digilander.iol.it/alberanid/vim/syntax/remind.vim
|
|
7 "
|
|
8 " remind is a sophisticated reminder service
|
|
9 " you can download remind from http://www.roaringpenguin.com/remind.html
|
|
10
|
|
11 if version < 600
|
|
12 syntax clear
|
|
13 elseif exists("b:current_syntax")
|
|
14 finish
|
|
15 endif
|
|
16
|
|
17 " shut case off
|
|
18 syn case ignore
|
|
19
|
|
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]\+"
|
|
35
|
|
36 if version >= 508 || !exists("did_remind_syn_inits")
|
|
37 if version < 508
|
|
38 let did_remind_syn_inits = 1
|
|
39 command -nargs=+ HiLink hi link <args>
|
|
40 else
|
|
41 command -nargs=+ HiLink hi def link <args>
|
|
42 endif
|
|
43
|
|
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
|
|
58
|
|
59 delcommand HiLink
|
|
60 endif
|
|
61
|
|
62 let b:current_syntax = "remind"
|
|
63
|
|
64 " vim: ts=8 sw=2
|