diff options
Diffstat (limited to 'syntax/yats')
-rw-r--r-- | syntax/yats/es6-array.vim | 6 | ||||
-rw-r--r-- | syntax/yats/es6-object.vim | 2 | ||||
-rw-r--r-- | syntax/yats/es6-promise.vim | 2 | ||||
-rw-r--r-- | syntax/yats/es6-regexp.vim | 2 | ||||
-rw-r--r-- | syntax/yats/es6-string.vim | 6 | ||||
-rw-r--r-- | syntax/yats/es6-symbol.vim | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/syntax/yats/es6-array.vim b/syntax/yats/es6-array.vim index 23009b43..26db1c7a 100644 --- a/syntax/yats/es6-array.vim +++ b/syntax/yats/es6-array.vim @@ -8,11 +8,11 @@ syntax keyword typescriptArrayStaticMethod contained from isArray of nextgroup=t if exists("did_typescript_hilink") | HiLink typescriptArrayStaticMethod Keyword endif syntax keyword typescriptArrayMethod contained concat copyWithin entries every fill nextgroup=typescriptFuncCallArg -syntax keyword typescriptArrayMethod contained filter find findIndex forEach indexOf nextgroup=typescriptFuncCallArg -syntax keyword typescriptArrayMethod contained includes join keys lastIndexOf map nextgroup=typescriptFuncCallArg +syntax keyword typescriptArrayMethod contained filter find findIndex flat flatMap forEach nextgroup=typescriptFuncCallArg +syntax keyword typescriptArrayMethod contained includes indexOf join keys lastIndexOf map nextgroup=typescriptFuncCallArg syntax keyword typescriptArrayMethod contained pop push reduce reduceRight reverse nextgroup=typescriptFuncCallArg syntax keyword typescriptArrayMethod contained shift slice some sort splice toLocaleString nextgroup=typescriptFuncCallArg -syntax keyword typescriptArrayMethod contained toSource toString unshift nextgroup=typescriptFuncCallArg +syntax keyword typescriptArrayMethod contained toSource toString unshift values nextgroup=typescriptFuncCallArg syntax cluster props add=typescriptArrayMethod if exists("did_typescript_hilink") | HiLink typescriptArrayMethod Keyword endif diff --git a/syntax/yats/es6-object.vim b/syntax/yats/es6-object.vim index 40dc5806..cd94fc98 100644 --- a/syntax/yats/es6-object.vim +++ b/syntax/yats/es6-object.vim @@ -5,7 +5,7 @@ endif syntax keyword typescriptGlobal containedin=typescriptIdentifierName Object nextgroup=typescriptGlobalObjectDot,typescriptFuncCallArg syntax match typescriptGlobalObjectDot /\./ contained nextgroup=typescriptObjectStaticMethod,typescriptProp syntax keyword typescriptObjectStaticMethod contained create defineProperties defineProperty nextgroup=typescriptFuncCallArg -syntax keyword typescriptObjectStaticMethod contained entries freeze getOwnPropertyDescriptors nextgroup=typescriptFuncCallArg +syntax keyword typescriptObjectStaticMethod contained entries freeze fromEntries getOwnPropertyDescriptors nextgroup=typescriptFuncCallArg syntax keyword typescriptObjectStaticMethod contained getOwnPropertyDescriptor getOwnPropertyNames nextgroup=typescriptFuncCallArg syntax keyword typescriptObjectStaticMethod contained getOwnPropertySymbols getPrototypeOf nextgroup=typescriptFuncCallArg syntax keyword typescriptObjectStaticMethod contained is isExtensible isFrozen isSealed nextgroup=typescriptFuncCallArg diff --git a/syntax/yats/es6-promise.vim b/syntax/yats/es6-promise.vim index 3c9d0ffc..8c52ec66 100644 --- a/syntax/yats/es6-promise.vim +++ b/syntax/yats/es6-promise.vim @@ -4,7 +4,7 @@ endif syntax keyword typescriptGlobal containedin=typescriptIdentifierName Promise nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg syntax match typescriptGlobalPromiseDot /\./ contained nextgroup=typescriptPromiseStaticMethod,typescriptProp -syntax keyword typescriptPromiseStaticMethod contained resolve reject all race nextgroup=typescriptFuncCallArg +syntax keyword typescriptPromiseStaticMethod contained all allSettled any race reject resolve nextgroup=typescriptFuncCallArg if exists("did_typescript_hilink") | HiLink typescriptPromiseStaticMethod Keyword endif syntax keyword typescriptPromiseMethod contained then catch finally nextgroup=typescriptFuncCallArg diff --git a/syntax/yats/es6-regexp.vim b/syntax/yats/es6-regexp.vim index 34e0a207..0875aa6e 100644 --- a/syntax/yats/es6-regexp.vim +++ b/syntax/yats/es6-regexp.vim @@ -7,7 +7,7 @@ syntax match typescriptGlobalRegExpDot /\./ contained nextgroup=typescriptRegE syntax keyword typescriptRegExpStaticProp contained lastIndex if exists("did_typescript_hilink") | HiLink typescriptRegExpStaticProp Keyword endif -syntax keyword typescriptRegExpProp contained global ignoreCase multiline source sticky +syntax keyword typescriptRegExpProp contained dotAll global ignoreCase multiline source sticky syntax cluster props add=typescriptRegExpProp if exists("did_typescript_hilink") | HiLink typescriptRegExpProp Keyword endif diff --git a/syntax/yats/es6-string.vim b/syntax/yats/es6-string.vim index c9954121..a1da20ce 100644 --- a/syntax/yats/es6-string.vim +++ b/syntax/yats/es6-string.vim @@ -9,12 +9,12 @@ if exists("did_typescript_hilink") | HiLink typescriptStringStaticMethod Keyword endif syntax keyword typescriptStringMethod contained anchor charAt charCodeAt codePointAt nextgroup=typescriptFuncCallArg syntax keyword typescriptStringMethod contained concat endsWith includes indexOf lastIndexOf nextgroup=typescriptFuncCallArg -syntax keyword typescriptStringMethod contained link localeCompare match normalize nextgroup=typescriptFuncCallArg -syntax keyword typescriptStringMethod contained padStart padEnd repeat replace search nextgroup=typescriptFuncCallArg +syntax keyword typescriptStringMethod contained link localeCompare match matchAll normalize nextgroup=typescriptFuncCallArg +syntax keyword typescriptStringMethod contained padStart padEnd repeat replace replaceAll search nextgroup=typescriptFuncCallArg syntax keyword typescriptStringMethod contained slice split startsWith substr substring nextgroup=typescriptFuncCallArg syntax keyword typescriptStringMethod contained toLocaleLowerCase toLocaleUpperCase nextgroup=typescriptFuncCallArg syntax keyword typescriptStringMethod contained toLowerCase toString toUpperCase trim nextgroup=typescriptFuncCallArg -syntax keyword typescriptStringMethod contained valueOf nextgroup=typescriptFuncCallArg +syntax keyword typescriptStringMethod contained trimEnd trimStart valueOf nextgroup=typescriptFuncCallArg syntax cluster props add=typescriptStringMethod if exists("did_typescript_hilink") | HiLink typescriptStringMethod Keyword endif diff --git a/syntax/yats/es6-symbol.vim b/syntax/yats/es6-symbol.vim index f90fd7b2..10bc5c76 100644 --- a/syntax/yats/es6-symbol.vim +++ b/syntax/yats/es6-symbol.vim @@ -4,7 +4,7 @@ endif syntax keyword typescriptGlobal containedin=typescriptIdentifierName Symbol nextgroup=typescriptGlobalSymbolDot,typescriptFuncCallArg syntax match typescriptGlobalSymbolDot /\./ contained nextgroup=typescriptSymbolStaticProp,typescriptSymbolStaticMethod,typescriptProp -syntax keyword typescriptSymbolStaticProp contained length iterator match replace +syntax keyword typescriptSymbolStaticProp contained description length iterator match matchAll replace syntax keyword typescriptSymbolStaticProp contained search split hasInstance isConcatSpreadable syntax keyword typescriptSymbolStaticProp contained unscopables species toPrimitive syntax keyword typescriptSymbolStaticProp contained toStringTag |