summaryrefslogblamecommitdiffstats
path: root/syntax/basic/decorator.vim
blob: 3eeb22a810462f59ffe846409eaa15bc2ade576e (plain) (tree)
1
2
3
4
5
6
7
                                                              

        
 
                                                                                             
                                                           
                                             
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
  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