summaryrefslogblamecommitdiffstats
path: root/syntax/basic/patch.vim
blob: 2156f8d87147eaed9ba73b15648cff99fbe52d93 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                

        
 




                                                                                              
if has_key(g:polyglot_is_disabled, 'typescript')
  finish
endif

" patch for generated code
syntax keyword typescriptGlobal Promise
  \ nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg,typescriptTypeArguments oneline
syntax keyword typescriptGlobal Map WeakMap
  \ nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg,typescriptTypeArguments oneline