diff options
Diffstat (limited to '')
-rw-r--r-- | syntax/yats/es6-map.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/syntax/yats/es6-map.vim b/syntax/yats/es6-map.vim new file mode 100644 index 00000000..b9f2d47a --- /dev/null +++ b/syntax/yats/es6-map.vim @@ -0,0 +1,14 @@ +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1 + finish +endif + +syntax keyword typescriptGlobal containedin=typescriptIdentifierName Map WeakMap +syntax keyword typescriptES6MapProp contained size +syntax cluster props add=typescriptES6MapProp +if exists("did_typescript_hilink") | HiLink typescriptES6MapProp Keyword +endif +syntax keyword typescriptES6MapMethod contained clear delete entries forEach get has nextgroup=typescriptFuncCallArg +syntax keyword typescriptES6MapMethod contained keys set values nextgroup=typescriptFuncCallArg +syntax cluster props add=typescriptES6MapMethod +if exists("did_typescript_hilink") | HiLink typescriptES6MapMethod Keyword +endif |