New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add go_highlight_extra_vars option #1024

Closed
wants to merge 1 commit into
from

Conversation

2 participants
@yyoshiki41
Contributor

yyoshiki41 commented Aug 25, 2016

Proposal

In idiomatic Go code,
ok and err are commonly used.

So I add a highlight option for them.
(By default it's disabled.)

Before

2016-08-26 1 43 41

After

2016-08-26 1 44 04


If you enable this setting

let g:go_highlight_extra_vars = 1

Thanks!


This change is Reviewable

@fatih

This comment has been minimized.

Show comment
Hide comment
@fatih

fatih Aug 27, 2016

Owner

Hi @yyoshiki41. I don't want to include this as these are just ordinary variables. Thank for your contribution though!

Owner

fatih commented Aug 27, 2016

Hi @yyoshiki41. I don't want to include this as these are just ordinary variables. Thank for your contribution though!

@fatih fatih closed this Aug 27, 2016

@yyoshiki41

This comment has been minimized.

Show comment
Hide comment
@yyoshiki41

yyoshiki41 Aug 27, 2016

Contributor

@fatih
Thanks for your reply.
I'll follow your thoughts!

Contributor

yyoshiki41 commented Aug 27, 2016

@fatih
Thanks for your reply.
I'll follow your thoughts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment