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


                                                                                             
     
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=typescriptArgumentList,typescriptTypeArguments
  \ contains=@_semantic,typescriptDotNotation
endif