2 " Language: LiteStep RC file
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2007-02-22
6 if exists("b:current_syntax")
13 syn keyword litestepTodo
17 syn match litestepComment
18 \ contained display contains=litestepTodo,@Spell
23 syn cluster litestepBeginnings
27 \ litestepMultiCommandStart,
28 \ litestepBangCommandStart,
29 \ litestepGenericDirective
31 syn match litestepGenericDirective
35 syn match litestepBeginning
36 \ nextgroup=@litestepBeginnings skipwhite
39 syn keyword litestepPreProc
47 syn cluster litestepMultiCommands
49 \ litestepMultiCommand
51 syn match litestepMultiCommandStart
52 \ nextgroup=@litestepMultiCommands
55 syn match litestepMultiCommand
59 syn cluster litestepVariables
61 \ litestepBuiltinFolderVariable,
62 \ litestepBuiltinConditionalVariable,
63 \ litestepBuiltinResourceVariable,
64 \ litestepBuiltinGUIDFolderMappingVariable,
67 syn region litestepVariableExpansion
68 \ display oneline transparent
72 \ litestepMathOperator
73 \ matchgroup=litestepVariableExpansion
77 syn match litestepNumber
81 syn region litestepString
82 \ display oneline contains=litestepVariableExpansion
85 " TODO: unsure about this one.
86 syn region litestepSubValue
87 \ display oneline contains=litestepVariableExpansion
90 syn keyword litestepBoolean
94 "syn keyword litestepLine
97 "syn match litestepColor
101 syn match litestepRelationalOperator
105 syn keyword litestepLogicalOperator
110 syn match litestepMathOperator
114 syn keyword litestepBuiltinDirective
121 \ LSDisableTrayService
126 syn keyword litestepDeprecatedBuiltinDirective
130 syn match litestepVariable
134 syn keyword litestepBuiltinFolderVariable
137 \ CommonAdminToolsDir
165 syn keyword litestepBuiltinConditionalVariable
176 syn keyword litestepBuiltinResourceVariable
183 syn keyword litestepBuiltinGUIDFolderMappingVariable
196 syn cluster litestepBangs
198 \ litestepBuiltinBang,
201 syn match litestepBangStart
202 \ nextgroup=@litestepBangs
205 syn match litestepBang
209 syn keyword litestepBuiltinBang
236 hi def link litestepTodo Todo
237 hi def link litestepComment Comment
238 hi def link litestepDirective Keyword
239 hi def link litestepGenericDirective litestepDirective
240 hi def link litestepPreProc PreProc
241 hi def link litestepMultiCommandStart litestepPreProc
242 hi def link litestepMultiCommand litestepDirective
243 hi def link litestepDelimiter Delimiter
244 hi def link litestepVariableExpansion litestepDelimiter
245 hi def link litestepNumber Number
246 hi def link litestepString String
247 hi def link litestepSubValue litestepString
248 hi def link litestepBoolean Boolean
249 "hi def link litestepLine
250 "hi def link litestepColor Type
251 hi def link litestepOperator Operator
252 hi def link litestepRelationalOperator litestepOperator
253 hi def link litestepLogicalOperator litestepOperator
254 hi def link litestepMathOperator litestepOperator
255 hi def link litestepBuiltinDirective litestepDirective
256 hi def link litestepDeprecatedBuiltinDirective Error
257 hi def link litestepVariable Identifier
258 hi def link litestepBuiltinFolderVariable Identifier
259 hi def link litestepBuiltinConditionalVariable Identifier
260 hi def link litestepBuiltinResourceVariable Identifier
261 hi def link litestepBuiltinGUIDFolderMappingVariable Identifier
262 hi def link litestepBangStart litestepPreProc
263 hi def link litestepBang litestepDirective
264 hi def link litestepBuiltinBang litestepBang
266 let b:current_syntax = "litestep"
268 let &cpo = s:cpo_save