mirror of
https://github.com/joshdick/onedark.vim.git
synced 2025-11-08 11:03:49 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user