Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/vim73/syntax/cdl.vim
blob: 69f124bddff55c782ef98236a847ecb2cbe8de6f (plain)
ofshex dumpascii
0000 22 20 56 69 6d 20 73 79 6e 74 61 78 20 66 69 6c 65 0a 22 20 4c 61 6e 67 75 61 67 65 3a 20 43 6f ".Vim.syntax.file.".Language:.Co
0020 6d 73 68 61 72 65 20 44 69 6d 65 6e 73 69 6f 6e 20 44 65 66 69 6e 69 74 69 6f 6e 20 4c 61 6e 67 mshare.Dimension.Definition.Lang
0040 75 61 67 65 0a 22 20 4d 61 69 6e 74 61 69 6e 65 72 3a 09 52 61 75 6c 20 53 65 67 75 72 61 20 41 uage.".Maintainer:.Raul.Segura.A
0060 63 65 76 65 64 6f 20 3c 72 61 75 6c 73 65 67 75 72 61 61 63 65 76 65 64 40 6e 65 74 73 63 61 70 cevedo.<raulseguraaceved@netscap
0080 65 2e 6e 65 74 3e 0a 22 20 4c 61 73 74 20 63 68 61 6e 67 65 3a 09 32 30 30 31 20 4a 75 6c 20 33 e.net>.".Last.change:.2001.Jul.3
00a0 31 0a 0a 69 66 20 76 65 72 73 69 6f 6e 20 3c 20 36 30 30 0a 09 73 79 6e 74 61 78 20 63 6c 65 61 1..if.version.<.600..syntax.clea
00c0 72 0a 65 6c 73 65 69 66 20 65 78 69 73 74 73 28 22 62 3a 63 75 72 72 65 6e 74 5f 73 79 6e 74 61 r.elseif.exists("b:current_synta
00e0 78 22 29 0a 09 66 69 6e 69 73 68 0a 65 6e 64 69 66 0a 0a 73 79 20 63 61 73 65 20 69 67 6e 6f 72 x")..finish.endif..sy.case.ignor
0100 65 0a 73 79 20 73 79 6e 63 20 66 72 6f 6d 73 74 61 72 74 0a 73 79 20 6b 65 79 77 6f 72 64 09 63 e.sy.sync.fromstart.sy.keyword.c
0120 64 6c 53 74 61 74 65 6d 65 6e 74 09 64 69 6d 65 6e 73 69 6f 6e 20 68 69 65 72 61 72 63 68 79 20 dlStatement.dimension.hierarchy.
0140 67 72 6f 75 70 20 67 72 6f 75 70 68 69 65 72 61 72 63 68 79 20 73 63 68 65 64 75 6c 65 20 63 6c group.grouphierarchy.schedule.cl
0160 61 73 73 0a 73 79 20 6b 65 79 77 6f 72 64 09 63 64 6c 54 79 70 65 09 09 61 64 64 20 75 70 64 61 ass.sy.keyword.cdlType..add.upda
0180 74 65 20 66 69 6c 65 20 63 61 74 65 67 6f 72 79 20 6d 61 69 6e 20 61 6c 74 65 72 6e 61 6d 65 20 te.file.category.main.altername.
01a0 72 65 6d 6f 76 65 61 6c 6c 20 72 65 71 75 69 72 65 64 20 6e 6f 74 72 65 71 75 69 72 65 64 0a 73 removeall.required.notrequired.s
01c0 79 20 6b 65 79 77 6f 72 64 09 63 64 6c 43 6f 6e 64 69 74 69 6f 6e 61 6c 09 69 66 20 74 68 65 6e y.keyword.cdlConditional.if.then
01e0 20 65 6c 73 65 69 66 20 65 6c 73 65 20 65 6e 64 69 66 20 61 6e 64 20 6f 72 20 6e 6f 74 20 63 6f .elseif.else.endif.and.or.not.co
0200 6e 73 20 72 70 74 20 78 6c 74 0a 73 79 20 6b 65 79 77 6f 72 64 09 63 64 6c 46 75 6e 63 74 69 6f ns.rpt.xlt.sy.keyword.cdlFunctio
0220 6e 09 43 68 69 6c 64 4f 66 20 49 43 68 69 6c 64 4f 66 20 4c 65 61 66 43 68 69 6c 64 4f 66 20 44 n.ChildOf.IChildOf.LeafChildOf.D
0240 65 73 63 65 6e 64 61 6e 74 4f 66 20 49 44 65 73 63 65 6e 64 61 6e 74 4f 66 20 4c 65 61 66 44 65 escendantOf.IDescendantOf.LeafDe
0260 73 63 65 6e 64 61 6e 74 4f 66 20 4d 65 6d 62 65 72 49 73 20 43 6f 75 6e 74 4f 66 0a 0a 73 79 20 scendantOf.MemberIs.CountOf..sy.
0280 6b 65 79 77 6f 72 64 09 63 64 6c 49 64 65 6e 74 69 66 69 65 72 09 63 6f 6e 74 61 69 6e 65 64 20 keyword.cdlIdentifier.contained.
02a0 69 64 20 6e 61 6d 65 20 64 65 73 63 20 64 65 73 63 72 69 70 74 69 6f 6e 20 78 6c 74 74 79 70 65 id.name.desc.description.xlttype
02c0 20 70 72 65 63 69 73 69 6f 6e 20 73 79 6d 62 6f 6c 20 63 75 72 72 5f 20 6e 61 6d 65 20 67 72 6f .precision.symbol.curr_.name.gro
02e0 75 70 5f 6e 61 6d 65 20 72 61 74 65 5f 6e 61 6d 65 0a 73 79 20 6b 65 79 77 6f 72 64 09 63 64 6c up_name.rate_name.sy.keyword.cdl
0300 49 64 65 6e 74 69 66 69 65 72 09 63 6f 6e 74 61 69 6e 65 64 20 78 63 68 65 63 6b 20 65 6e 64 62 Identifier.contained.xcheck.endb
0320 61 6c 20 61 63 63 6f 75 6e 74 74 79 70 65 20 6e 61 74 73 69 67 6e 20 63 6f 6e 73 6f 6c 69 64 61 al.accounttype.natsign.consolida
0340 74 65 20 66 6f 72 6d 75 6c 61 20 70 63 74 6f 77 6e 20 75 73 61 67 65 20 70 65 72 69 6f 64 69 63 te.formula.pctown.usage.periodic
0360 69 74 79 0a 73 79 20 6d 61 74 63 68 09 63 64 6c 49 64 65 6e 74 69 66 69 65 72 09 63 6f 6e 74 61 ity.sy.match.cdlIdentifier.conta
0380 69 6e 65 64 20 27 63 68 69 6c 64 5c 73 2a 6e 61 6d 65 27 0a 73 79 20 6d 61 74 63 68 09 63 64 6c ined.'child\s*name'.sy.match.cdl
03a0 49 64 65 6e 74 69 66 69 65 72 09 63 6f 6e 74 61 69 6e 65 64 20 27 70 61 72 65 6e 74 5c 73 2a 6e Identifier.contained.'parent\s*n
03c0 61 6d 65 27 0a 73 79 20 6d 61 74 63 68 09 63 64 6c 49 64 65 6e 74 69 66 69 65 72 09 63 6f 6e 74 ame'.sy.match.cdlIdentifier.cont
03e0 61 69 6e 65 64 20 27 67 72 70 5c 73 2a 64 65 73 63 72 69 70 74 69 6f 6e 27 0a 73 79 20 6d 61 74 ained.'grp\s*description'.sy.mat
0400 63 68 09 63 64 6c 49 64 65 6e 74 69 66 69 65 72 09 63 6f 6e 74 61 69 6e 65 64 20 27 67 72 70 63 ch.cdlIdentifier.contained.'grpc
0420 68 69 6c 64 5c 73 2a 6e 61 6d 65 27 0a 73 79 20 6d 61 74 63 68 09 63 64 6c 49 64 65 6e 74 69 66 hild\s*name'.sy.match.cdlIdentif
0440 69 65 72 09 63 6f 6e 74 61 69 6e 65 64 20 27 67 72 70 70 61 72 65 6e 74 5c 73 2a 6e 61 6d 65 27 ier.contained.'grpparent\s*name'
0460 0a 73 79 20 6d 61 74 63 68 09 63 64 6c 49 64 65 6e 74 69 66 69 65 72 09 63 6f 6e 74 61 69 6e 65 .sy.match.cdlIdentifier.containe
0480 64 20 27 70 72 65 63 65 64 69 6e 67 5c 73 2a 6d 65 6d 62 65 72 27 0a 73 79 20 6d 61 74 63 68 09 d.'preceding\s*member'.sy.match.
04a0 63 64 6c 49 64 65 6e 74 69 66 69 65 72 09 63 6f 6e 74 61 69 6e 65 64 20 27 75 6e 69 74 5c 73 2a cdlIdentifier.contained.'unit\s*
04c0 6e 61 6d 65 27 0a 73 79 20 6d 61 74 63 68 09 63 64 6c 49 64 65 6e 74 69 66 69 65 72 09 63 6f 6e name'.sy.match.cdlIdentifier.con
04e0 74 61 69 6e 65 64 20 27 75 6e 69 74 5c 73 2a 69 64 27 0a 73 79 20 6d 61 74 63 68 09 63 64 6c 49 tained.'unit\s*id'.sy.match.cdlI
0500 64 65 6e 74 69 66 69 65 72 09 63 6f 6e 74 61 69 6e 65 64 20 27 73 63 68 65 64 75 6c 65 5c 73 2a dentifier.contained.'schedule\s*
0520 6e 61 6d 65 27 0a 73 79 20 6d 61 74 63 68 09 63 64 6c 49 64 65 6e 74 69 66 69 65 72 09 63 6f 6e name'.sy.match.cdlIdentifier.con
0540 74 61 69 6e 65 64 20 27 73 63 68 65 64 75 6c 65 5c 73 2a 69 64 27 0a 0a 73 79 20 6d 61 74 63 68 tained.'schedule\s*id'..sy.match
0560 09 63 64 6c 53 74 72 69 6e 67 09 2f 5c 5b 5b 5e 5d 5d 2a 5d 2f 09 63 6f 6e 74 61 69 6e 73 3d 63 .cdlString./\[[^]]*]/.contains=c
0580 64 6c 52 65 73 74 72 69 63 74 65 64 2c 63 64 6c 4e 6f 74 53 75 70 70 6f 72 74 65 64 0a 73 79 20 dlRestricted,cdlNotSupported.sy.
05a0 6d 61 74 63 68 09 63 64 6c 52 65 73 74 72 69 63 74 65 64 09 63 6f 6e 74 61 69 6e 65 64 20 2f 5b match.cdlRestricted.contained./[
05c0 26 2a 2c 5f 5d 2f 0a 22 20 6e 6f 74 20 73 75 70 70 6f 72 74 65 64 20 00 2c 20 5b 2c 20 5d 0a 73 &*,_]/.".not.supported..,.[,.].s
05e0 79 20 6d 61 74 63 68 09 63 64 6c 4e 6f 74 53 75 70 70 6f 72 74 65 64 09 63 6f 6e 74 61 69 6e 65 y.match.cdlNotSupported.containe
0600 64 20 2f 5b 3a 22 21 27 5d 2f 0a 0a 73 79 20 6b 65 79 77 6f 72 64 09 63 64 6c 54 6f 64 6f 09 09 d./[:"!']/..sy.keyword.cdlTodo..
0620 63 6f 6e 74 61 69 6e 65 64 20 54 4f 44 4f 20 46 49 58 4d 45 20 58 58 58 0a 73 79 20 63 6c 75 73 contained.TODO.FIXME.XXX.sy.clus
0640 74 65 72 09 63 64 6c 43 6f 6d 6d 65 6e 74 47 72 6f 75 70 20 63 6f 6e 74 61 69 6e 73 3d 63 64 6c ter.cdlCommentGroup.contains=cdl
0660 54 6f 64 6f 0a 73 79 20 6d 61 74 63 68 09 63 64 6c 43 6f 6d 6d 65 6e 74 09 27 2f 2f 2e 2a 27 20 Todo.sy.match.cdlComment.'//.*'.
0680 63 6f 6e 74 61 69 6e 73 3d 40 63 64 6c 43 6f 6d 6d 65 6e 74 47 72 6f 75 70 0a 73 79 20 72 65 67 contains=@cdlCommentGroup.sy.reg
06a0 69 6f 6e 09 63 64 6c 43 6f 6d 6d 65 6e 74 09 73 74 61 72 74 3d 22 2f 5c 2a 22 20 65 6e 64 3d 22 ion.cdlComment.start="/\*".end="
06c0 5c 2a 2f 22 20 63 6f 6e 74 61 69 6e 73 3d 40 63 64 6c 43 6f 6d 6d 65 6e 74 47 72 6f 75 70 20 66 \*/".contains=@cdlCommentGroup.f
06e0 6f 6c 64 0a 73 79 20 6d 61 74 63 68 09 63 64 6c 43 6f 6d 6d 65 6e 74 45 09 22 5c 2a 2f 22 0a 0a old.sy.match.cdlCommentE."\*/"..
0700 73 79 20 72 65 67 69 6f 6e 09 63 64 6c 50 61 72 65 6e 09 74 72 61 6e 73 70 61 72 65 6e 74 20 73 sy.region.cdlParen.transparent.s
0720 74 61 72 74 3d 27 28 27 20 65 6e 64 3d 27 29 27 20 63 6f 6e 74 61 69 6e 73 3d 41 4c 4c 42 55 54 tart='('.end=')'.contains=ALLBUT
0740 2c 63 64 6c 50 61 72 65 6e 45 2c 63 64 6c 52 65 73 74 72 69 63 74 65 64 2c 63 64 6c 4e 6f 74 53 ,cdlParenE,cdlRestricted,cdlNotS
0760 75 70 70 6f 72 74 65 64 0a 22 73 79 20 72 65 67 69 6f 6e 09 63 64 6c 50 61 72 65 6e 09 74 72 61 upported."sy.region.cdlParen.tra
0780 6e 73 70 61 72 65 6e 74 20 73 74 61 72 74 3d 27 28 27 20 65 6e 64 3d 27 29 27 20 63 6f 6e 74 61 nsparent.start='('.end=')'.conta
07a0 69 6e 73 3d 63 64 6c 49 64 65 6e 74 69 66 69 65 72 2c 63 64 6c 43 6f 6d 6d 65 6e 74 2c 63 64 6c ins=cdlIdentifier,cdlComment,cdl
07c0 50 61 72 65 6e 57 6f 72 64 45 0a 73 79 20 6d 61 74 63 68 09 63 64 6c 50 61 72 65 6e 45 09 22 29 ParenWordE.sy.match.cdlParenE.")
07e0 22 0a 22 73 79 20 6d 61 74 63 68 09 63 64 6c 50 61 72 65 6e 57 6f 72 64 45 09 63 6f 6e 74 61 69 "."sy.match.cdlParenWordE.contai
0800 6e 65 64 20 22 5c 6b 5c 2b 22 0a 0a 73 79 20 6b 65 79 77 6f 72 64 09 63 64 6c 46 78 54 79 70 65 ned."\k\+"..sy.keyword.cdlFxType
0820 09 61 6c 6c 6f 63 61 74 69 6f 6e 20 64 6f 77 6e 66 6f 6f 74 20 65 78 70 72 20 78 6c 74 67 61 69 .allocation.downfoot.expr.xltgai
0840 6e 0a 22 73 79 20 6b 65 79 77 6f 72 64 09 63 64 6c 46 78 54 79 70 65 09 63 6f 6e 74 61 69 6e 65 n."sy.keyword.cdlFxType.containe
0860 64 20 61 6c 6c 6f 63 61 74 69 6f 6e 20 64 6f 77 6e 66 6f 6f 74 20 65 78 70 72 20 78 6c 74 67 61 d.allocation.downfoot.expr.xltga
0880 69 6e 0a 22 73 79 20 72 65 67 69 6f 6e 09 63 64 6c 46 78 09 09 74 72 61 6e 73 70 61 72 65 6e 74 in."sy.region.cdlFx..transparent
08a0 20 73 74 61 72 74 3d 27 5c 6b 5c 2b 28 27 20 65 6e 64 3d 27 29 27 20 63 6f 6e 74 61 69 6e 73 3d .start='\k\+('.end=')'.contains=
08c0 63 64 6c 43 6f 6e 64 69 74 69 6f 6e 61 6c 2c 63 64 6c 46 75 6e 63 74 69 6f 6e 2c 63 64 6c 53 74 cdlConditional,cdlFunction,cdlSt
08e0 72 69 6e 67 2c 63 64 6c 43 6f 6d 6d 65 6e 74 2c 63 64 6c 46 78 54 79 70 65 0a 0a 73 65 74 20 66 ring,cdlComment,cdlFxType..set.f
0900 6f 6c 64 6d 65 74 68 6f 64 3d 65 78 70 72 0a 73 65 74 20 66 6f 6c 64 65 78 70 72 3d 28 67 65 74 oldmethod=expr.set.foldexpr=(get
0920 6c 69 6e 65 28 76 3a 6c 6e 75 6d 2b 31 29 3d 7e 27 7b 27 5c 7c 5c 7c 67 65 74 6c 69 6e 65 28 76 line(v:lnum+1)=~'{'\|\|getline(v
0940 3a 6c 6e 75 6d 29 3d 7e 27 2f 2f 5c 5c 73 5c 5c 2a 5c 5c 7b 35 7d 2e 2a 74 61 62 6c 65 27 29 3f :lnum)=~'//\\s\\*\\{5}.*table')?
0960 27 3e 31 27 3a 31 0a 25 66 6f 6c 64 6f 21 0a 73 65 74 20 66 6f 6c 64 6d 65 74 68 6f 64 3d 6d 61 '>1':1.%foldo!.set.foldmethod=ma
0980 6e 75 61 6c 0a 6c 65 74 20 62 3a 6d 61 74 63 68 5f 77 6f 72 64 73 3d 27 5c 3c 69 66 5c 3e 3a 5c nual.let.b:match_words='\<if\>:\
09a0 3c 74 68 65 6e 5c 3e 3a 5c 3c 65 6c 73 65 69 66 5c 3e 3a 5c 3c 65 6c 73 65 5c 3e 3a 5c 3c 65 6e <then\>:\<elseif\>:\<else\>:\<en
09c0 64 69 66 5c 3e 27 0a 0a 22 20 44 65 66 69 6e 65 20 74 68 65 20 64 65 66 61 75 6c 74 20 68 69 67 dif\>'..".Define.the.default.hig
09e0 68 6c 69 67 68 74 69 6e 67 2e 0a 22 20 46 6f 72 20 76 65 72 73 69 6f 6e 20 35 2e 37 20 61 6e 64 hlighting..".For.version.5.7.and
0a00 20 65 61 72 6c 69 65 72 3a 20 6f 6e 6c 79 20 77 68 65 6e 20 6e 6f 74 20 64 6f 6e 65 20 61 6c 72 .earlier:.only.when.not.done.alr
0a20 65 61 64 79 0a 22 20 46 6f 72 20 76 65 72 73 69 6f 6e 20 35 2e 38 20 61 6e 64 20 6c 61 74 65 72 eady.".For.version.5.8.and.later
0a40 3a 20 6f 6e 6c 79 20 77 68 65 6e 20 61 6e 20 69 74 65 6d 20 64 6f 65 73 6e 27 74 20 68 61 76 65 :.only.when.an.item.doesn't.have
0a60 20 68 69 67 68 6c 69 67 68 74 69 6e 67 20 79 65 74 0a 69 66 20 76 65 72 73 69 6f 6e 20 3e 3d 20 .highlighting.yet.if.version.>=.
0a80 35 30 38 20 7c 7c 20 21 65 78 69 73 74 73 28 22 64 69 64 5f 63 73 63 5f 73 79 6e 74 61 78 5f 69 508.||.!exists("did_csc_syntax_i
0aa0 6e 69 74 73 22 29 0a 09 69 66 20 76 65 72 73 69 6f 6e 20 3c 20 35 30 38 0a 09 09 6c 65 74 20 64 nits")..if.version.<.508...let.d
0ac0 69 64 5f 63 73 63 5f 73 79 6e 74 61 78 5f 69 6e 69 74 73 20 3d 20 31 0a 09 09 63 6f 6d 6d 61 6e id_csc_syntax_inits.=.1...comman
0ae0 64 20 2d 6e 61 72 67 73 3d 2b 20 48 69 4c 69 6e 6b 20 68 69 20 6c 69 6e 6b 20 3c 61 72 67 73 3e d.-nargs=+.HiLink.hi.link.<args>
0b00 0a 09 65 6c 73 65 0a 09 09 63 6f 6d 6d 61 6e 64 20 2d 6e 61 72 67 73 3d 2b 20 48 69 4c 69 6e 6b ..else...command.-nargs=+.HiLink
0b20 20 68 69 20 64 65 66 20 6c 69 6e 6b 20 3c 61 72 67 73 3e 0a 09 65 6e 64 69 66 0a 0a 09 48 69 4c .hi.def.link.<args>..endif...HiL
0b40 69 6e 6b 20 63 64 6c 53 74 61 74 65 6d 65 6e 74 09 53 74 61 74 65 6d 65 6e 74 0a 09 48 69 4c 69 ink.cdlStatement.Statement..HiLi
0b60 6e 6b 20 63 64 6c 54 79 70 65 09 09 54 79 70 65 0a 09 48 69 4c 69 6e 6b 20 63 64 6c 46 78 54 79 nk.cdlType..Type..HiLink.cdlFxTy
0b80 70 65 09 54 79 70 65 0a 09 48 69 4c 69 6e 6b 20 63 64 6c 49 64 65 6e 74 69 66 69 65 72 09 49 64 pe.Type..HiLink.cdlIdentifier.Id
0ba0 65 6e 74 69 66 69 65 72 0a 09 48 69 4c 69 6e 6b 20 63 64 6c 53 74 72 69 6e 67 09 53 74 72 69 6e entifier..HiLink.cdlString.Strin
0bc0 67 0a 09 48 69 4c 69 6e 6b 20 63 64 6c 52 65 73 74 72 69 63 74 65 64 09 57 61 72 6e 69 6e 67 4d g..HiLink.cdlRestricted.WarningM
0be0 73 67 0a 09 48 69 4c 69 6e 6b 20 63 64 6c 4e 6f 74 53 75 70 70 6f 72 74 65 64 09 45 72 72 6f 72 sg..HiLink.cdlNotSupported.Error
0c00 4d 73 67 0a 09 48 69 4c 69 6e 6b 20 63 64 6c 54 6f 64 6f 09 09 54 6f 64 6f 0a 09 48 69 4c 69 6e Msg..HiLink.cdlTodo..Todo..HiLin
0c20 6b 20 63 64 6c 43 6f 6d 6d 65 6e 74 09 43 6f 6d 6d 65 6e 74 0a 09 48 69 4c 69 6e 6b 20 63 64 6c k.cdlComment.Comment..HiLink.cdl
0c40 43 6f 6d 6d 65 6e 74 45 09 45 72 72 6f 72 4d 73 67 0a 09 48 69 4c 69 6e 6b 20 63 64 6c 50 61 72 CommentE.ErrorMsg..HiLink.cdlPar
0c60 65 6e 45 09 45 72 72 6f 72 4d 73 67 0a 09 48 69 4c 69 6e 6b 20 63 64 6c 50 61 72 65 6e 57 6f 72 enE.ErrorMsg..HiLink.cdlParenWor
0c80 64 45 09 45 72 72 6f 72 4d 73 67 0a 09 48 69 4c 69 6e 6b 20 63 64 6c 46 75 6e 63 74 69 6f 6e 09 dE.ErrorMsg..HiLink.cdlFunction.
0ca0 46 75 6e 63 74 69 6f 6e 0a 09 48 69 4c 69 6e 6b 20 63 64 6c 43 6f 6e 64 69 74 69 6f 6e 61 6c 09 Function..HiLink.cdlConditional.
0cc0 43 6f 6e 64 69 74 69 6f 6e 61 6c 0a 0a 09 64 65 6c 63 6f 6d 6d 61 6e 64 20 48 69 4c 69 6e 6b 0a Conditional...delcommand.HiLink.
0ce0 65 6e 64 69 66 0a 0a 6c 65 74 20 62 3a 63 75 72 72 65 6e 74 5f 73 79 6e 74 61 78 20 3d 20 22 63 endif..let.b:current_syntax.=."c
0d00 64 6c 22 0a 0a 22 20 76 69 6d 3a 20 74 73 3d 38 0a dl"..".vim:.ts=8.