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 ability to hide low and middle complexity levels #2

Merged
merged 1 commit into from Sep 17, 2014
Merged

Conversation

alexbel
Copy link

@alexbel alexbel commented Sep 16, 2014

I think it would be nice to hide some complexity levels

value = rest[0].to_i
value = "9+" if value >= 100
VIM.command ":sign define #{value.to_s} text=#{value.to_s} texthl=#{complexity}"
render_score(line_number, value, medium_limit, high_limit)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style nit: drop parens here, so it's
render_score line_number, value, medium_limit, high_limit

@sentientmonkey
Copy link
Owner

Great idea! Have a few tiny style comments, but otherwise looks good to go!

@alexbel
Copy link
Author

alexbel commented Sep 17, 2014

PR has been updated according to the style convention.

@sentientmonkey
Copy link
Owner

Awesome, thanks!

sentientmonkey added a commit that referenced this pull request Sep 17, 2014
Add ability to hide low and middle complexity levels
@sentientmonkey sentientmonkey merged commit 1a43772 into sentientmonkey:master Sep 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants