From c4ec025f1069a2b3f538cbf0e40ebb7557095be4 Mon Sep 17 00:00:00 2001 From: Kyoz Date: Sun, 4 Aug 2019 11:38:57 +0700 Subject: [PATCH] fix(syntax): fix typescript_ignore_browserwords logic --- syntax/typescript.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/typescript.vim b/syntax/typescript.vim index 09f2ef6..e816536 100644 --- a/syntax/typescript.vim +++ b/syntax/typescript.vim @@ -85,7 +85,7 @@ syntax keyword typescriptPrototype contained prototype "}}} " DOM, Browser and Ajax Support {{{ """""""""""""""""""""""" -if get(g:, 'typescript_ignore_browserwords', 0) +if !get(g:, 'typescript_ignore_browserwords', 0) syntax keyword typescriptBrowserObjects window navigator screen history location syntax keyword typescriptDOMObjects document event HTMLElement Anchor Area Base Body Button Form Frame Frameset Image Link Meta Option Select Style Table TableCell TableRow Textarea