codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: ATLAS3" Maintainer: Inaki Saez <jisaez@sfe.indra.es>4" Last Change: 2001 May 095 6" quit when a syntax file was already loaded7if exists("b:current_syntax")8 finish9endif10 11syn case ignore12 13syn keyword atlasStatement begin terminate14syn keyword atlasStatement fill calculate compare15syn keyword atlasStatement setup connect close open disconnect reset16syn keyword atlasStatement initiate read fetch17syn keyword atlasStatement apply measure verify remove18syn keyword atlasStatement perform leave finish output delay19syn keyword atlasStatement prepare execute20syn keyword atlasStatement do21syn match atlasStatement "\<go[ ]\+to\>"22syn match atlasStatement "\<wait[ ]\+for\>"23 24syn keyword atlasInclude include25syn keyword atlasDefine define require declare identify26 27"syn keyword atlasReserved true false go nogo hi lo via28syn keyword atlasReserved true false29 30syn keyword atlasStorageClass external global31 32syn keyword atlasConditional if then else end33syn keyword atlasRepeat while for thru34 35" Flags BEF and statement number36syn match atlasSpecial "^[BE ][ 0-9]\{,6}\>"37 38" Number formats39syn match atlasHexNumber "\<X'[0-9A-F]\+'"40syn match atlasOctalNumber "\<O'[0-7]\+'"41syn match atlasBinNumber "\<B'[01]\+'"42syn match atlasNumber "\<\d\+\>"43"Floating point number part only44syn match atlasDecimalNumber "\.\d\+\([eE][-+]\=\d\)\=\>"45 46syn region atlasFormatString start=+((+ end=+\())\)\|\()[ ]*\$\)+me=e-147syn region atlasString start=+\<C'+ end=+'+ oneline48 49syn region atlasComment start=+^C+ end=+\$+50syn region atlasComment2 start=+\$.\++ms=s+1 end=+$+ oneline51 52syn match atlasIdentifier "'[A-Za-z0-9 ._-]\+'"53 54"Synchronization with Statement terminator $55syn sync match atlasTerminator grouphere atlasComment "^C"56syn sync match atlasTerminator groupthere NONE "\$"57syn sync maxlines=10058 59 60" Define the default highlighting.61" Only when an item doesn't have highlighting yet62 63hi def link atlasConditional Conditional64hi def link atlasRepeat Repeat65hi def link atlasStatement Statement66hi def link atlasNumber Number67hi def link atlasHexNumber Number68hi def link atlasOctalNumber Number69hi def link atlasBinNumber Number70hi def link atlasDecimalNumber Float71hi def link atlasFormatString String72hi def link atlasString String73hi def link atlasComment Comment74hi def link atlasComment2 Comment75hi def link atlasInclude Include76hi def link atlasDefine Macro77hi def link atlasReserved PreCondit78hi def link atlasStorageClass StorageClass79hi def link atlasIdentifier NONE80hi def link atlasSpecial Special81 82 83let b:current_syntax = "atlas"84 85" vim: ts=886 