" For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded " if version < 600 syntax clear elseif exists("b:current_syntax") finish endif syn region String start=+"+ end=+"+ skip=+\\"+ containedin=one,two,three syn region two start=+\[+ end=+\]+ contains=three,one keepend syn region three start=+{+ end=+}+ contains=one,two syn region one start=+(+ end=+)+ contains=two,three if version >= 508 || !exists("did_c_syn_inits") if version < 508 command -nargs=+ HiLink hi link else command -nargs=+ HiLink hi def link endif HiLink one Type HiLink two Identifier HiLink three Special delcommand HiLink endif let b:current_syntax = "beef"