Created
July 21, 2016 18:03
-
-
Save Stiivi/075f592ba71863248c293f814a914e22 to your computer and use it in GitHub Desktop.
Snowflake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if version < 600 | |
syntax clear | |
elseif exists("b:current_syntax") | |
finish | |
endif | |
syn case ignore | |
syn keyword cubesStatement dimension fact hierarchy repr nextgroup=cubesModelObject skipwhite | |
"" Experimental | |
syn keyword cubesStatement node entity nextgroup=cubesModelObject skipwhite | |
syn keyword cubesStatement label | |
syn match cubesModelObject "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained | |
syn keyword cubesKeyword references | |
syn keyword cubesKeyword dimensions hierarchies attributes | |
syn keyword cubesKeyword where is as on | |
syn keyword cubesKeyword table key collocated requires default | |
"" Experimental | |
syn keyword cubesStatement node entity nextgroup=cubesModelObject skipwhite | |
syn keyword cubesKeyword final | |
syn region cubesLabel start=+'+ end=+'+ contained | |
" | |
" Comments | |
" | |
syn match cubesComment "#.*$" display contains=cubesTodo,@Spell | |
syn keyword cubesTodo TODO FIXME XXX contained | |
hi def link cubesModelObject Function | |
hi def link cubesStatement Statement | |
hi def link cubesKeyword Keyword | |
hi def link cubesComment Comment | |
hi def link cubesTodo Todo | |
hi def link cubesLabel String | |
let b:current_syntax = "cubesmodel" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment