summaryrefslogblamecommitdiffstats
path: root/syntax/basic/decorator.vim
blob: 2a7a1dd1317264e96ca7a3986c9221978b2c17d0 (plain) (tree)
1
2
3
4
5
6
7
                                                                                   
 
                                                                                             
                                                           
                                             
 
     
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1

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

endif