From d4339baf5d72bb91bd1cd394f095b6001f93f5e2 Mon Sep 17 00:00:00 2001 From: rhysd Date: Sun, 14 Jul 2019 03:23:25 +0900 Subject: [PATCH] Highlight unique symbol type `unique symbol` type was added to TypeScript at v2.7. https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#unique-symbol --- syntax/typescript.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/syntax/typescript.vim b/syntax/typescript.vim index 09f2ef6..cab6c72 100644 --- a/syntax/typescript.vim +++ b/syntax/typescript.vim @@ -139,6 +139,7 @@ syntax keyword typescriptReserved constructor declare as interface module abstra "}}} " DOM2 Objects"{{{ syntax keyword typescriptType DOMImplementation DocumentFragment Node NodeList NamedNodeMap CharacterData Attr Element Text Comment CDATASection DocumentType Notation Entity EntityReference ProcessingInstruction void any string boolean number symbol never object unknown + syntax match typescriptType /\/ syntax keyword typescriptExceptions DOMException "}}} " DOM2 CONSTANT"{{{