diff options
Diffstat (limited to '')
-rw-r--r-- | syntax/yats/es6-string.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/yats/es6-string.vim b/syntax/yats/es6-string.vim index 4e63d164..d7275a1d 100644 --- a/syntax/yats/es6-string.vim +++ b/syntax/yats/es6-string.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName String nextgroup=typescriptGlobalStringDot,typescriptFuncCallArg syntax match typescriptGlobalStringDot /\./ contained nextgroup=typescriptStringStaticMethod,typescriptProp syntax keyword typescriptStringStaticMethod contained fromCharCode fromCodePoint raw nextgroup=typescriptFuncCallArg @@ -15,4 +16,5 @@ syntax keyword typescriptStringMethod contained valueOf nextgroup=typescriptFunc syntax cluster props add=typescriptStringMethod if exists("did_typescript_hilink") | HiLink typescriptStringMethod Keyword endif + endif |