summaryrefslogtreecommitdiffstats
path: root/syntax/typescript.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/typescript.vim')
-rw-r--r--syntax/typescript.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax/typescript.vim b/syntax/typescript.vim
index ac2e3aeb..08f42383 100644
--- a/syntax/typescript.vim
+++ b/syntax/typescript.vim
@@ -128,7 +128,7 @@ syntax keyword typescriptBranch break continue yield await
syntax keyword typescriptLabel case default async readonly
syntax keyword typescriptStatement return with
-syntax keyword typescriptGlobalObjects Array Boolean Date Function Infinity Math Number NaN Object Packages RegExp String Symbol netscape
+syntax keyword typescriptGlobalObjects Array Boolean Date Function Infinity JSON Math Number NaN Object Packages RegExp String Symbol netscape
syntax keyword typescriptExceptions try catch throw finally Error EvalError RangeError ReferenceError SyntaxError TypeError URIError
@@ -210,7 +210,7 @@ syn match typescriptBraces "[{}\[\]]"
syn match typescriptParens "[()]"
syn match typescriptOpSymbols "=\{1,3}\|!==\|!=\|<\|>\|>=\|<=\|++\|+=\|--\|-="
syn match typescriptEndColons "[;,]"
-syn match typescriptLogicSymbols "\(&&\)\|\(||\)"
+syn match typescriptLogicSymbols "\(&&\)\|\(||\)\|\(!\)"
" typescriptFold Function {{{