1- syn keyword qlKeyword from where select predicate in as order by asc desc module
1+ syn keyword qlKeyword from where select predicate in as order by asc desc module result this super
22syn keyword qlAnnotation abstract cached external final library noopt private
33syn keyword qlLogic not and or implies exists forall forex any none
44syn keyword qlConditional if then else
55syn keyword qlType int float string boolean date
66syn keyword qlImport import nextgroup =qlQualified skipwhite
77syn keyword qlTypeMod class extends instanceof nextgroup =qlType skipwhite
8- syn keyword qlPredicate rank
8+ syn keyword qlAggregate avg concat count max min rank strictconcat strictcount strictsum sum
9+ syn keyword qlConstant false true
910
1011syn match qlQualified " \v ([a-zA-Z_]+\. )*[a-zA-Z_]+"
1112syn match qlComment " //.*$" contains =@Spell
1213syn match qlComparison " [!=<>]"
1314syn match qlVar " \v [a-zA-Z0-9_#]+"
1415syn match qlType " \v [@A-Z][a-zA-Z0-9_]+"
1516syn match qlPredicate " \v [a-zA-Z0-9_#@]+\z e\( "
17+ syn match qlInt " \d\+ "
18+ syn match qlFloat " \d\+\.\d\+ "
1619
1720syn region qlComment start =" /\* " end =" \* /" contains =@Spell
1821syn region qlString start =/ \v "/ skip =/ \v\\ ./ end =/ \v "/
@@ -24,9 +27,13 @@ hi def link qlComparison Operator
2427hi def link qlAnnotation PreProc
2528hi def link qlTypeMod Keyword
2629hi def link qlLogic Keyword
30+ hi def link qlAggregate Keyword
2731hi def link qlPredicate Function
2832hi def link qlConditional Conditional
2933hi def link qlType Type
34+ hi def link qlConstant Constant
35+ hi def link qlInt Number
36+ hi def link qlFloat Float
3037if ! exists (" g:qlVarNoHighlight" )
3138 hi def link qlVar Identifier
3239endif
0 commit comments