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

        
 




                                                                                              
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/patch.vim')
  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