From d8709650fd3c1ea007b5c91e4731bc58dd8404ea Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 19 May 2021 10:03:16 +0200 Subject: fix typescript colors --- colors/polarlight.vim | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/colors/polarlight.vim b/colors/polarlight.vim index 576f5eb..02860c9 100644 --- a/colors/polarlight.vim +++ b/colors/polarlight.vim @@ -34,8 +34,8 @@ let g:base16_gui07 = "fffff4" let s:gui08 = "ff3f4f" let g:base16_gui08 = "ff3f4f" " orange -let s:gui09 = "ff3f4f" -let g:base16_gui09 = "ff3f4f" +let s:gui09 = "ff9700" +let g:base16_gui09 = "ff9700" " yellow let s:gui0A = "ffd945" let g:base16_gui0A = "ffd945" @@ -43,8 +43,8 @@ let g:base16_gui0A = "ffd945" let s:gui0B = "81f900" let g:base16_gui0B = "81f900" " cyan -let s:gui0C = "45a1ed" -let g:base16_gui0C = "45a1ed" +let s:gui0C = "19d1e5" +let g:base16_gui0C = "19d1e5" " blue let s:gui0D = "45a1ed" let g:base16_gui0D = "45a1ed" @@ -245,8 +245,8 @@ call hi("Identifier", s:gui08, "", s:cterm08, "", "none", "") call hi("Include", s:gui0D, "", s:cterm0D, "", "", "") call hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "") call hi("Label", s:gui0A, "", s:cterm0A, "", "", "") -call hi("Number", s:gui09, "", s:cterm09, "", "", "") -call hi("Operator", s:gui05, "", s:cterm05, "", "none", "") +call hi("Number", s:gui0E, "", s:cterm09, "", "", "") +call hi("Operator", s:gui08, "", s:cterm05, "", "none", "") call hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "") call hi("shShebang", s:gui03, "", s:cterm0A, "", "", "") call hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "") @@ -254,7 +254,7 @@ call hi("Special", s:gui0C, "", s:cterm0C, "", "", "") call hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "") call hi("Statement", s:gui08, "", s:cterm08, "", "", "") call hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("String", s:gui0B, "", s:cterm0B, "", "", "") +call hi("String", s:gui0A, "", s:cterm0A, "", "", "") call hi("Structure", s:gui0E, "", s:cterm0E, "", "", "") call hi("Tag", s:gui0A, "", s:cterm0A, "", "", "") call hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") @@ -262,7 +262,7 @@ call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") call hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "") " C highlighting -call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cOperator", s:gui08, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") " C# highlighting @@ -324,7 +324,7 @@ call hi("javaScript", s:gui05, "", s:cterm05, "", "", "") call hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "") call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") " pangloss/vim-javascript highlighting -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsOperator", s:gui08, "", s:cterm0D, "", "", "") call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") @@ -367,7 +367,7 @@ call hi("phpParent", s:gui05, "", s:cterm05, "", "", "") call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " Python highlighting -call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +call hi("pythonOperator", s:gui08, "", s:cterm0E, "", "", "") call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") call hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") @@ -411,7 +411,23 @@ call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") " Java highlighting -call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("javaOperator", s:gui08, "", s:cterm0D, "", "", "") + +" Typescript highlighting +call hi("typescriptIdentifierName", s:gui06, "", "", "", "", "") +call hi("typescriptImport", s:gui08, "", "", "", "", "") +call hi("typescriptExport", s:gui08, "", "", "", "", "") +call hi("typescriptClassKeyword", s:gui0C, "", "", "", "", "") +call hi("typescriptClassName", s:gui0D, "", "", "", "", "") +call hi("typescriptClassBlock", s:gui0C, "", "", "", "", "") +call hi("typescriptVariable", s:gui0C, "", "", "", "italic", "") +call hi("typescriptFuncKeyword", s:gui0C, "", "", "", "italic", "") +call hi("typescriptFuncCallArg", s:gui09, "", "", "", "", "") +call hi("typescriptMember", s:gui0B, "", "", "", "", "") +call hi("typescriptBlock", s:gui0B, "", "", "", "", "") +call hi("typescriptProp", s:gui0B, "", "", "", "", "") +call hi("typescriptPredefinedType", s:gui0C, "", "", "", "", "") +call hi("typescriptTypeReference", s:gui0D, "", "", "", "", "") " Remove functions delf hi -- cgit v1.2.3