mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-14 14:33:50 -05:00
Switch typescript provider, closes #428
This commit is contained in:
12
syntax/yats/es6-reflect.vim
Normal file
12
syntax/yats/es6-reflect.vim
Normal file
@@ -0,0 +1,12 @@
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Reflect
|
||||
syntax keyword typescriptReflectMethod contained apply construct defineProperty deleteProperty nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptReflectMethod contained enumerate get getOwnPropertyDescriptor nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptReflectMethod contained getPrototypeOf has isExtensible ownKeys nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptReflectMethod contained preventExtensions set setPrototypeOf nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptReflectMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptReflectMethod Keyword
|
||||
endif
|
||||
Reference in New Issue
Block a user