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

Provide ability to treat block and statement scope separately for "rainbow lines" #272

Closed
marzer opened this issue May 1, 2019 · 2 comments
Assignees
Milestone

Comments

@marzer
Copy link

marzer commented May 1, 2019

Hi,

The "rainbow lines" feature is great for blocks, namespaces etc, but I find that once it gets to a statement-level scope (i.e. horizontal lines) it's actually pretty annoying and distracting. I'd love the option to disable the horizontal part of it altogether, so it only ever shows the innermost 'vertical' scope.

E.g. this:

image

displayed as this:

image

Regardless of where in the Typed scope I put the cursor.

Alternatively, the ability to do both simultaneously but reduce the line thickness or alpha strength of the horizontal part might also work.

@tomasr tomasr self-assigned this Feb 17, 2020
@tomasr tomasr added this to the v4.3 milestone Feb 17, 2020
@tomasr
Copy link
Owner

tomasr commented Feb 17, 2020

I've added an option called RainbowLinesMode to support this. Should be in the next public release.

@tomasr tomasr closed this as completed Feb 17, 2020
@marzer
Copy link
Author

marzer commented Feb 17, 2020

Awesome, thanks @tomasr!

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

No branches or pull requests

2 participants