summaryrefslogblamecommitdiffstats
path: root/syntax/basic/decorator.vim
blob: 51c02ff65418d92ea8700be9885c9e84af7db718 (plain) (tree)
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