summaryrefslogtreecommitdiffstats
path: root/syntax/yats/es6-math.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/yats/es6-math.vim')
-rw-r--r--syntax/yats/es6-math.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/yats/es6-math.vim b/syntax/yats/es6-math.vim
index e0396df0..03460ec1 100644
--- a/syntax/yats/es6-math.vim
+++ b/syntax/yats/es6-math.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
+
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Math nextgroup=typescriptGlobalMathDot,typescriptFuncCallArg
syntax match typescriptGlobalMathDot /\./ contained nextgroup=typescriptMathStaticProp,typescriptMathStaticMethod,typescriptProp
syntax keyword typescriptMathStaticProp contained E LN10 LN2 LOG10E LOG2E PI SQRT1_2
@@ -13,4 +14,5 @@ syntax keyword typescriptMathStaticMethod contained min pow random round sign si
syntax keyword typescriptMathStaticMethod contained sinh sqrt tan tanh trunc nextgroup=typescriptFuncCallArg
if exists("did_typescript_hilink") | HiLink typescriptMathStaticMethod Keyword
endif
+
endif