mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-09 20:13:51 -05:00
8 lines
279 B
VimL
8 lines
279 B
VimL
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
|