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
This commit is contained in:
Sebastian S
2019-06-18 20:34:03 +02:00
committed by Josh Dick
parent 91128e1819
commit ef4a37a95b

View File

@@ -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