Indentscope: Add option to ignore small scope
Contributing guidelines
- [X] I have read CONTRIBUTING.md
- [X] I have read CODE_OF_CONDUCT.md
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.
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.
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!
As I don't think having a solution to #568 via upper bound is a good approach, I am afraid I am going to close this issue. This indeed feels like too much configuration for something that I don't feel like a crucial and/or universally useful feature. Thanks for the suggestion, though!