All pastes #638692 Raw Edit

Something

public text v1 · immutable
#638692 ·published 2007-07-30 00:48 UTC
rendered paste body
" 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 <args>
  else
    command -nargs=+ HiLink hi def link <args>
  endif

 HiLink one Type
 HiLink two Identifier
 HiLink three Special

  delcommand HiLink
endif

let b:current_syntax = "beef"