-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Feature Request: Only show indent lines on my current code "block" #561
Comments
I'm not against the idea, but this would actually be pretty difficult to add with the current implementation. |
Practically speaking, it seems like you are looking for twilight |
Wasn't this possible in |
No, this was never supported and still isn't. |
I have a small addition to the code that does this now, but what behavior would you want when the cursor is between the two |
I think showing indents for everything is a fine idea. I would say make it a setting so users can choose. Thanks for doing the work on this |
Ah, I just edited it to not show indents when not in a block now, since I thought that could save work too. But this could definitely be an option, though I worry adding extra options to what is already a sub-option could be confusing. I would probably want @lukas-reineke's input on how we would want this to be implemented before adding that kind of option. If you want me to change anything (I have only briefly checked that it worked as I expected), you can try it from my latest commit here: #703 The option can be enabled by adding something like |
Your PR is already really big, let's focus on current indent first. I'm happy to add this as well, but let's make that a separate PR. |
If you didn't see, I also asked in the PR if you prefer to have it split up. I will just split it into smaller parts tomorrow. |
Say I have this code block
Notice the cursor is in the second code block. I would hope the guides would only show under the
impl Address
block:I think it could look cleaner
The text was updated successfully, but these errors were encountered: