summaryrefslogtreecommitdiffstats
path: root/syntax/basic/decorator.vim
blob: cb1312853201bd243ff9bb2aa13c1c11c4ad2961 (plain) (blame)
1
2
3
4
5
6
7
if !has_key(g:polyglot_is_disabled, 'typescript')
  finish
endif

syntax match typescriptDecorator /@\([_$a-zA-Z][_$a-zA-Z0-9]*\.\)*[_$a-zA-Z][_$a-zA-Z0-9]*\>/
  \ nextgroup=typescriptFuncCallArg,typescriptTypeArguments
  \ contains=@_semantic,typescriptDotNotation