summaryrefslogtreecommitdiffstats
path: root/syntax/yats/web-crypto.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/yats/web-crypto.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/yats/web-crypto.vim b/syntax/yats/web-crypto.vim
index 61d9af30..4a9442c3 100644
--- a/syntax/yats/web-crypto.vim
+++ b/syntax/yats/web-crypto.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
+
syntax keyword typescriptCryptoGlobal containedin=typescriptIdentifierName crypto
if exists("did_typescript_hilink") | HiLink typescriptCryptoGlobal Structure
endif
@@ -15,4 +16,5 @@ syntax keyword typescriptCryptoMethod contained getRandomValues nextgroup=typesc
syntax cluster props add=typescriptCryptoMethod
if exists("did_typescript_hilink") | HiLink typescriptCryptoMethod Keyword
endif
+
endif