summaryrefslogblamecommitdiffstats
path: root/syntax/basic/patch.vim
blob: 475c050dbd7f32c5e1c452fe06bb57105fb993f8 (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