annotate runtime/syntax/remind.vim @ 461:f98374445f66

updated for version 7.0123
author vimboss
date Thu, 04 Aug 2005 21:29:45 +0000
parents 3fc0f57ecb91
children e63691e7c504
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Remind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Davide Alberani <alberanid@bigfoot.com>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last Change: 28 Apr 2001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Version: 0.2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " URL: http://digilander.iol.it/alberanid/vim/syntax/remind.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " remind is a sophisticated reminder service
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " you can download remind from http://www.roaringpenguin.com/remind.html
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " shut case off
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn keyword remindCommands REM OMIT SET FSET UNSET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn keyword remindExpiry UNTIL SCANFROM SCAN WARN SCHED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn keyword remindTag PRIORITY TAG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn keyword remindTimed AT DURATION
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn keyword remindMove ONCE SKIP BEFORE AFTER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn keyword remindSpecial INCLUDE INC BANNER PUSH-OMIT-CONTEXT PUSH CLEAR-OMIT-CONTEXT CLEAR POP-OMIT-CONTEXT POP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn keyword remindRun MSG MSF RUN CAL SATISFY SPECIAL PS PSFILE SHADE MOON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword remindConditional IF ELSE ENDIF IFTRIG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn match remindComment "#.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn region remindString start=+'+ end=+'+ skip=+\\\\\|\\'+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn region remindString start=+"+ end=+"+ skip=+\\\\\|\\"+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn keyword remindDebug DEBUG DUMPVARS DUMP ERRMSG FLUSH PRESERVE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn match remindVar "\$[_a-zA-Z][_a-zA-Z0-9]*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn match remindSubst "%[^ ]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn match remindAdvanceNumber "\(\*\|+\|-\|++\|--\)[0-9]\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 if version >= 508 || !exists("did_remind_syn_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 let did_remind_syn_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 HiLink remindCommands Function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 HiLink remindExpiry Repeat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 HiLink remindTag Label
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 HiLink remindTimed Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 HiLink remindMove Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 HiLink remindSpecial Include
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 HiLink remindRun Function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 HiLink remindConditional Conditional
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 HiLink remindComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 HiLink remindString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 HiLink remindDebug Debug
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 HiLink remindVar Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 HiLink remindSubst Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 HiLink remindAdvanceNumber Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 let b:current_syntax = "remind"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 " vim: ts=8 sw=2