mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
8 lines
310 B
VimL
8 lines
310 B
VimL
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/decorator.vim')
|
|
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
|