if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cql') == -1 " Vim syntax file " Language: cql " Maintainer: Eric Lubow " syn match cqlNumber "-\=\<[0-9]*\.[0-9]*\>" syn match cqlNumber "-\=\<[0-9][0-9]*e[+-]\=[0-9]*\>" syn match cqlNumber "-\=\<[0-9]*\.[0-9]*e[+-]\=[0-9]*\>" syn match cqlNumber "\<0x[abcdefABCDEF0-9]*\>" " Define the default highlighting. " For version 5.7 and earlier: only when not done already " For version 5.8 and later: only when an item doesn't have highlighting yet if version >= 508 || !exists("did_cql_syn_inits") if version < 508 let did_cql_syn_inits = 1 command -nargs=+ HiLink hi link else command -nargs=+ HiLink hi def link endif HiLink cqlKeyword Statement HiLink cqlSpecial Special HiLink cqlString String HiLink cqlNumber Number HiLink cqlVariable Identifier HiLink cqlComment Comment HiLink cqlType Type HiLink cqlOperator Statement HiLink cqlConsistency Statement HiLink cqlColType Type HiLink cqlPStrategy Type delcommand HiLink endif let b:current_syntax = "cql" endif