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

Indentscope: Add option to ignore small scope #815

Open
2 tasks done
xzbdmw opened this issue Apr 16, 2024 · 2 comments
Open
2 tasks done

Indentscope: Add option to ignore small scope #815

xzbdmw opened this issue Apr 16, 2024 · 2 comments

Comments

@xzbdmw
Copy link

xzbdmw commented Apr 16, 2024

Contributing guidelines

Module(s)

mini.indentscope

Description

Thanks for your plugin!
I often find it is disturb to draw animation in small if-else which only contain one or two lines during cursor movement, and I want to show the indent which is one lever "bigger" than small scopes, by that case, goto_top is more useful.

@xzbdmw xzbdmw added the feature-request Feature request label Apr 16, 2024
@echasnovski
Copy link
Owner

Thanks for the issue!

First instinct is that this is a bit too much configuration for what I perceive as not a huge issue. But as this might fit together with possible solution of #568 (via introducing upper bound of when to draw or stop drawing indentscope line), I'll think about it.

@niveK77pur
Copy link

I want to second this! A very small scope of 1-3 lines is often not all that interesting to visualize. I was hoping to find an option where I can set the minimum number of lines that should cause the indent to be shown in a nested scope.

Also, this is a really sweet plugin! Thanks a lot for all the work so far!

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

3 participants