mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 12:33:51 -05:00
8 lines
293 B
VimL
8 lines
293 B
VimL
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
|