summaryrefslogblamecommitdiffstats
path: root/syntax/yats/es6-reflect.vim
blob: 9bc7c6be3cc85f5a810d642d9b69340b1f456e73 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                              

        
 







                                                                                                                              
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
  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