mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-11 13:03:50 -05:00
Switch typescript provider, closes #428
This commit is contained in:
7
syntax/basic/decorator.vim
Normal file
7
syntax/basic/decorator.vim
Normal file
@@ -0,0 +1,7 @@
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax match typescriptDecorator /@\([_$a-zA-Z][_$a-zA-Z0-9]*\.\)*[_$a-zA-Z][_$a-zA-Z0-9]*\>/
|
||||
\ nextgroup=typescriptArgumentList,typescriptTypeArguments
|
||||
\ contains=@_semantic,typescriptDotNotation
|
||||
Reference in New Issue
Block a user