Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Enhacement: Go Version segment uses Go colours and only the version number is shown. #1242

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

denisse-dev
Copy link

@denisse-dev denisse-dev commented Apr 5, 2019

  1. Why is this change neccesary?
    Because the go_version segment had a green background when other segments (like
    rbenv) have a colour that matches the language.
    The Go version had the string "go" before the semantic versioning being
    redundant to have the Gopher icon and the String.
    The segment was only visible when inside the GOPATH, and some users (like me)
    may be interested in the segment being shown persistently.

  2. How does it address the issue?
    The background colour was changed from green to cyan and the foreground colour
    from white to black in order to match Go colours.
    Only the version of Go is shown in the segment.
    A variable was added to see the segment persistently if the user wishes to.

  3. What side effects does this change have?
    None however, I need help with the SVG as I have no clue on how to do it.

Before:
Screenshot_2019-04-05_02-23-19
After:
Screenshot_2019-04-05_02-23-38

Update: I've added the SVG.

@denisse-dev denisse-dev force-pushed the feature/enhace-go-segment branch 2 times, most recently from ba5dece to 8c2d08a Compare April 5, 2019 20:05
…umber is

shown.

1. Why is this change neccesary?
Because the go_version segment had a green background when other segments (like
rbenv) have a colour that matches the language.
The Go version had the string "go" before the semantic versioning being
redundant to have the Gopher icon and the String.
The segment was only visible when inside the GOPATH, and some users (like me)
may be interested in the segment being shown persistently.

2. How does it address the issue?
The background colour was changed from green to cyan and the foreground colour
from white to black in order to match Go colours.
Only the version of Go is shown in the segment.
A variable was added to see the segment persistently if the user wishes to.

3. What side effects does this change have?
None!
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant