summaryrefslogtreecommitdiffstats
path: root/syntax/yats/dom-event.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/yats/dom-event.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/yats/dom-event.vim b/syntax/yats/dom-event.vim
index a31be737..f13af726 100644
--- a/syntax/yats/dom-event.vim
+++ b/syntax/yats/dom-event.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
+
syntax keyword typescriptDOMEventTargetMethod contained addEventListener removeEventListener nextgroup=typescriptEventFuncCallArg
syntax keyword typescriptDOMEventTargetMethod contained dispatchEvent waitUntil nextgroup=typescriptEventFuncCallArg
syntax cluster props add=typescriptDOMEventTargetMethod
@@ -62,4 +63,5 @@ syntax keyword typescriptDOMEventMethod contained stopPropagation respondWith de
syntax cluster props add=typescriptDOMEventMethod
if exists("did_typescript_hilink") | HiLink typescriptDOMEventMethod Keyword
endif
+
endif