From ef4a37a95b96d96975357631a2e2e8ab246832e5 Mon Sep 17 00:00:00 2001 From: Sebastian S Date: Tue, 18 Jun 2019 20:34:03 +0200 Subject: [PATCH] Adjust go highlighting (#170) Make go highlighting more similar to that of other languages: * function calls should be blue * types should be yellow to distinguish them from keywords * make special keywords struct and interface also cyan, like builtins --- colors/onedark.vim | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/colors/onedark.vim b/colors/onedark.vim index 01801f9..738fb33 100644 --- a/colors/onedark.vim +++ b/colors/onedark.vim @@ -304,18 +304,14 @@ call s:h("fishConditional", { "fg": s:purple }) " Go call s:h("goDeclaration", { "fg": s:purple }) call s:h("goBuiltins", { "fg": s:cyan }) -call s:h("goFunctionCall", { "fg": s:cyan }) +call s:h("goFunctionCall", { "fg": s:blue }) call s:h("goVarDefs", { "fg": s:red }) call s:h("goVarAssign", { "fg": s:red }) call s:h("goVar", { "fg": s:purple }) call s:h("goConst", { "fg": s:purple }) -call s:h("goType", { "fg": s:purple }) -call s:h("goSignedInts", { "fg": s:purple }) -call s:h("goUnsignedInts", { "fg": s:purple }) -call s:h("goFloats", { "fg": s:purple }) -call s:h("goComplexes", { "fg": s:purple }) +call s:h("goType", { "fg": s:yellow }) call s:h("goTypeName", { "fg": s:yellow }) -call s:h("goDeclType", { "fg": s:purple }) +call s:h("goDeclType", { "fg": s:cyan }) call s:h("goTypeDecl", { "fg": s:purple }) " HTML