-
Notifications
You must be signed in to change notification settings - Fork 195
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 trim_scope = "center"
#393
Comments
trim_scope = "center"
I would also love to see this feature, or have it be the default for the To be honest, I feel a bit "lied to" in the inner trim mode, because it strongly suggests I'm in an As-is, I'm forced to use |
When I'm handling a lot of
if
statements orswitch
cases, I often find myself either not knowing which function I'm in when dealing with others' codebases (outer), or whichif
/switch
statement I'm in (inner). I'd love to see a feature to remove the context in the center, leaving only the appropriate number of inner and outer context lines, depending on how nested the code is, or how manyif
/switch
statements there are and obviously the value ofmax_lines
.The text was updated successfully, but these errors were encountered: