mirror of
https://github.com/vim/vim
synced 2025-03-16 14:57:52 +01:00
89 lines
3.3 KiB
VimL
89 lines
3.3 KiB
VimL
" Vim syntax file
|
||
" Language: Comshare Dimension Definition Language
|
||
" Maintainer: Raul Segura Acevedo <raulseguraaceved@netscape.net>
|
||
" Last change: 2001 Jul 31
|
||
|
||
if version < 600
|
||
syntax clear
|
||
elseif exists("b:current_syntax")
|
||
finish
|
||
endif
|
||
|
||
sy case ignore
|
||
sy sync fromstart
|
||
sy keyword cdlStatement dimension hierarchy group grouphierarchy schedule class
|
||
sy keyword cdlType add update file category main altername removeall required notrequired
|
||
sy keyword cdlConditional if then elseif else endif and or not cons rpt xlt
|
||
sy keyword cdlFunction ChildOf IChildOf LeafChildOf DescendantOf IDescendantOf LeafDescendantOf MemberIs CountOf
|
||
|
||
sy keyword cdlIdentifier contained id name desc description xlttype precision symbol curr_ name group_name rate_name
|
||
sy keyword cdlIdentifier contained xcheck endbal accounttype natsign consolidate formula pctown usage periodicity
|
||
sy match cdlIdentifier contained 'child\s*name'
|
||
sy match cdlIdentifier contained 'parent\s*name'
|
||
sy match cdlIdentifier contained 'grp\s*description'
|
||
sy match cdlIdentifier contained 'grpchild\s*name'
|
||
sy match cdlIdentifier contained 'grpparent\s*name'
|
||
sy match cdlIdentifier contained 'preceding\s*member'
|
||
sy match cdlIdentifier contained 'unit\s*name'
|
||
sy match cdlIdentifier contained 'unit\s*id'
|
||
sy match cdlIdentifier contained 'schedule\s*name'
|
||
sy match cdlIdentifier contained 'schedule\s*id'
|
||
|
||
sy match cdlString /\[[^]]*]/ contains=cdlRestricted,cdlNotSupported
|
||
sy match cdlRestricted contained /[&*,_]/
|
||
" not supported |