codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: LiteStep RC file3" Previous Maintainer: Nikolai Weibull <now@bitwi.se>4" Latest Revision: 2007-02-225 6if exists("b:current_syntax")7 finish8endif9 10let s:cpo_save = &cpo11set cpo&vim12 13syn keyword litestepTodo14 \ contained15 \ TODO FIXME XXX NOTE16 17syn match litestepComment18 \ contained display contains=litestepTodo,@Spell19 \ ';.*$'20 21syn case ignore22 23syn cluster litestepBeginnings24 \ contains=25 \ litestepComment,26 \ litestepPreProc,27 \ litestepMultiCommandStart,28 \ litestepBangCommandStart,29 \ litestepGenericDirective30 31syn match litestepGenericDirective32 \ contained display33 \ '\<\h\w\+\>'34 35syn match litestepBeginning36 \ nextgroup=@litestepBeginnings skipwhite37 \ '^'38 39syn keyword litestepPreProc40 \ contained41 \ Include42 \ If43 \ ElseIf44 \ Else45 \ EndIf46 47syn cluster litestepMultiCommands48 \ contains=49 \ litestepMultiCommand50 51syn match litestepMultiCommandStart52 \ nextgroup=@litestepMultiCommands53 \ '\*'54 55syn match litestepMultiCommand56 \ contained display57 \ '\<\h\w\+\>'58 59syn cluster litestepVariables60 \ contains=61 \ litestepBuiltinFolderVariable,62 \ litestepBuiltinConditionalVariable,63 \ litestepBuiltinResourceVariable,64 \ litestepBuiltinGUIDFolderMappingVariable,65 \ litestepVariable66 67syn region litestepVariableExpansion68 \ display oneline transparent69 \ contains=70 \ @litestepVariables,71 \ litestepNumber,72 \ litestepMathOperator73 \ matchgroup=litestepVariableExpansion74 \ start='\$'75 \ end='\$'76 77syn match litestepNumber78 \ display79 \ '\<\d\+\>'80 81syn region litestepString82 \ display oneline contains=litestepVariableExpansion83 \ start=+"+ end=+"+84 85" TODO: unsure about this one.86syn region litestepSubValue87 \ display oneline contains=litestepVariableExpansion88 \ start=+'+ end=+'+89 90syn keyword litestepBoolean91 \ true92 \ false93 94"syn keyword litestepLine95" \ ?96 97"syn match litestepColor98" \ display99" \ '\<\x\+\>'100 101syn match litestepRelationalOperator102 \ display103 \ '=\|<[>=]\=\|>=\='104 105syn keyword litestepLogicalOperator106 \ and107 \ or108 \ not109 110syn match litestepMathOperator111 \ contained display112 \ '[+*/-]'113 114syn keyword litestepBuiltinDirective115 \ LoadModule116 \ LSNoStartup117 \ LSAutoHideModules118 \ LSNoShellWarning119 \ LSSetAsShell120 \ LSUseSystemDDE121 \ LSDisableTrayService122 \ LSImageFolder123 \ ThemeAuthor124 \ ThemeName125 126syn keyword litestepDeprecatedBuiltinDirective127 \ LSLogLevel128 \ LSLogFile129 130syn match litestepVariable131 \ contained display132 \ '\<\h\w\+\>'133 134syn keyword litestepBuiltinFolderVariable135 \ contained136 \ AdminToolsDir137 \ CommonAdminToolsDir138 \ CommonDesktopDir139 \ CommonFavorites140 \ CommonPrograms141 \ CommonStartMenu142 \ CommonStartup143 \ Cookies144 \ Desktop145 \ DesktopDir146 \ DocumentsDir147 \ Favorites148 \ Fonts149 \ History150 \ Internet151 \ InternetCache152 \ LitestepDir153 \ Nethood154 \ Printhood155 \ Programs156 \ QuickLaunch157 \ Recent158 \ Sendto159 \ Startmenu160 \ Startup161 \ Templates162 \ WinDir163 \ LitestepDir164 165syn keyword litestepBuiltinConditionalVariable166 \ contained167 \ Win2000168 \ Win95169 \ Win98170 \ Win9X171 \ WinME172 \ WinNT173 \ WinNT4174 \ WinXP175 176syn keyword litestepBuiltinResourceVariable177 \ contained178 \ CompileDate179 \ ResolutionX180 \ ResolutionY181 \ UserName182 183syn keyword litestepBuiltinGUIDFolderMappingVariable184 \ contained185 \ AdminTools186 \ BitBucket187 \ Controls188 \ Dialup189 \ Documents190 \ Drives191 \ Network192 \ NetworkAndDialup193 \ Printers194 \ Scheduled195 196syn cluster litestepBangs197 \ contains=198 \ litestepBuiltinBang,199 \ litestepBang200 201syn match litestepBangStart202 \ nextgroup=@litestepBangs203 \ '!'204 205syn match litestepBang206 \ contained display207 \ '\<\h\w\+\>'208 209syn keyword litestepBuiltinBang210 \ contained211 \ About212 \ Alert213 \ CascadeWindows214 \ Confirm215 \ Execute216 \ Gather217 \ HideModules218 \ LogOff219 \ MinimizeWindows220 \ None221 \ Quit222 \ Recycle223 \ Refresh224 \ Reload225 \ ReloadModule226 \ RestoreWindows227 \ Run228 \ ShowModules229 \ Shutdown230 \ Switchuser231 \ TileWindowsH232 \ TileWindowsV233 \ ToggleModules234 \ UnloadModule235 236hi def link litestepTodo Todo237hi def link litestepComment Comment238hi def link litestepDirective Keyword239hi def link litestepGenericDirective litestepDirective240hi def link litestepPreProc PreProc241hi def link litestepMultiCommandStart litestepPreProc242hi def link litestepMultiCommand litestepDirective243hi def link litestepDelimiter Delimiter244hi def link litestepVariableExpansion litestepDelimiter245hi def link litestepNumber Number246hi def link litestepString String247hi def link litestepSubValue litestepString248hi def link litestepBoolean Boolean249"hi def link litestepLine 250"hi def link litestepColor Type251hi def link litestepOperator Operator252hi def link litestepRelationalOperator litestepOperator253hi def link litestepLogicalOperator litestepOperator254hi def link litestepMathOperator litestepOperator255hi def link litestepBuiltinDirective litestepDirective256hi def link litestepDeprecatedBuiltinDirective Error257hi def link litestepVariable Identifier258hi def link litestepBuiltinFolderVariable Identifier259hi def link litestepBuiltinConditionalVariable Identifier260hi def link litestepBuiltinResourceVariable Identifier261hi def link litestepBuiltinGUIDFolderMappingVariable Identifier262hi def link litestepBangStart litestepPreProc263hi def link litestepBang litestepDirective264hi def link litestepBuiltinBang litestepBang265 266let b:current_syntax = "litestep"267 268let &cpo = s:cpo_save269unlet s:cpo_save270 