Skip to content
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

@yyoshiki41
Copy link
Contributor

@yyoshiki41 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
Copy link
Owner

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

Loading

@fatih fatih closed this Aug 27, 2016
@yyoshiki41
Copy link
Contributor Author

@yyoshiki41 yyoshiki41 commented Aug 27, 2016

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

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants