From 6e4e6702685e5c7b219e2d9ae8741ece4539a848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Starski?= Date: Fri, 17 Jan 2020 00:38:17 +0100 Subject: [PATCH] More keywords added for typescript support --- colors/codedark.vim | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index 5ee9321..b043c16 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -290,14 +290,16 @@ call hi('typescriptExceptions', s:cdLightBlue, {}, 'none', {}) call hi('typescriptBraces', s:cdFront, {}, 'none', {}) call hi('typescriptEndColons', s:cdLightBlue, {}, 'none', {}) call hi('typescriptParens', s:cdFront, {}, 'none', {}) -call hi('typescriptDocTags', s:cdLightBlue, {}, 'none', {}) +call hi('typescriptDocTags', s:cdBlue, {}, 'none', {}) +call hi('typescriptDocComment', s:cdBlueGreen, {}, 'none', {}) call hi('typescriptLogicSymbols', s:cdLightBlue, {}, 'none', {}) call hi('typescriptImport', s:cdPink, {}, 'none', {}) call hi('typescriptBOM', s:cdLightBlue, {}, 'none', {}) call hi('typescriptVariableDeclaration', s:cdLightBlue, {}, 'none', {}) call hi('typescriptVariable', s:cdBlue, {}, 'none', {}) call hi('typescriptExport', s:cdPink, {}, 'none', {}) -call hi('typescriptAliasDeclaration', s:cdLightBlue, {}, 'none', {}) +call hi('typescriptAliasDeclaration', s:cdBlueGreen, {}, 'none', {}) +call hi('typescriptAliasKeyword', s:cdBlue, {}, 'none', {}) call hi('typescriptClassName', s:cdBlueGreen, {}, 'none', {}) call hi('typescriptAccessibilityModifier', s:cdBlue, {}, 'none', {}) call hi('typescriptOperator', s:cdBlue, {}, 'none', {}) @@ -329,7 +331,6 @@ call hi('typescriptIndexExpr', s:cdLightBlue, {}, 'none', {}) call hi('typescriptConditionalParen', s:cdLightBlue, {}, 'none', {}) call hi('typescriptArray', s:cdYellow, {}, 'none', {}) call hi('typescriptES6SetProp', s:cdLightBlue, {}, 'none', {}) -call hi('typescriptStringMethod', s:cdYellow, {}, 'none', {}) call hi('typescriptObjectLiteral', s:cdLightBlue, {}, 'none', {}) call hi('typescriptTypeParameter', s:cdBlueGreen, {}, 'none', {}) call hi('typescriptEnumKeyword', s:cdBlue, {}, 'none', {}) @@ -339,6 +340,16 @@ call hi('typescriptParenExp', s:cdLightBlue, {}, 'none', {}) call hi('typescriptModule', s:cdLightBlue, {}, 'none', {}) call hi('typescriptAmbientDeclaration', s:cdBlue, {}, 'none', {}) call hi('typescriptModule', s:cdBlue, {}, 'none', {}) +call hi('typescriptFuncTypeArrow', s:cdBlue, {}, 'none', {}) +call hi('typescriptInterfaceHeritage', s:cdBlueGreen, {}, 'none', {}) +call hi('typescriptInterfaceName', s:cdBlueGreen, {}, 'none', {}) +call hi('typescriptInterfaceKeyword', s:cdBlue, {}, 'none', {}) +call hi('typescriptInterfaceExtends', s:cdBlue, {}, 'none', {}) +call hi('typescriptGlobal', s:cdBlueGreen, {}, 'none', {}) +call hi('typescriptAsyncFuncKeyword', s:cdBlue, {}, 'none', {}) +call hi('typescriptFuncKeyword', s:cdBlue, {}, 'none', {}) +call hi('typescriptGlobalMethod', s:cdYellow, {}, 'none', {}) +call hi('typescriptPromiseMethod', s:cdYellow, {}, 'none', {}) " XML: call hi('xmlTag', s:cdBlueGreen, {}, 'none', {})