summaryrefslogtreecommitdiffstats
path: root/syntax/yats/web-xhr.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/yats/web-xhr.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/yats/web-xhr.vim b/syntax/yats/web-xhr.vim
index 6a6379f7..b8a8f56e 100644
--- a/syntax/yats/web-xhr.vim
+++ b/syntax/yats/web-xhr.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
+
syntax keyword typescriptXHRGlobal containedin=typescriptIdentifierName XMLHttpRequest
if exists("did_typescript_hilink") | HiLink typescriptXHRGlobal Structure
endif
@@ -13,4 +14,5 @@ syntax keyword typescriptXHRMethod contained open overrideMimeType send setReque
syntax cluster props add=typescriptXHRMethod
if exists("did_typescript_hilink") | HiLink typescriptXHRMethod Keyword
endif
+
endif