summaryrefslogtreecommitdiffstats
path: root/syntax/yats/es6-array.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/yats/es6-array.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/yats/es6-array.vim b/syntax/yats/es6-array.vim
index c246f686..cc6ba71f 100644
--- a/syntax/yats/es6-array.vim
+++ b/syntax/yats/es6-array.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
+
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Array nextgroup=typescriptGlobalArrayDot,typescriptFuncCallArg
syntax match typescriptGlobalArrayDot /\./ contained nextgroup=typescriptArrayStaticMethod,typescriptProp
syntax keyword typescriptArrayStaticMethod contained from isArray of nextgroup=typescriptFuncCallArg
@@ -13,4 +14,5 @@ syntax keyword typescriptArrayMethod contained toSource toString unshift nextgro
syntax cluster props add=typescriptArrayMethod
if exists("did_typescript_hilink") | HiLink typescriptArrayMethod Keyword
endif
+
endif