mini.nvim
mini.nvim copied to clipboard
inner indent indicators
Contributing guidelines
- [X] I have read CONTRIBUTING.md
- [X] I have read CODE_OF_CONDUCT.md
Module(s)
indentscope
Description
'lukas-reineke/indent-blankline.nvim'
shows inner indent guides, meaning, visual indicators of indent levels for every line which has an indent. In this screenshot, the indicators i'm referring to are rendered in dark grey, for example, lines 14-17.
mini.indentscope
can be configured to display instantly, similar to indent-blankline
, but it only shows an indicator for the active indent level:
The advantage of mini.indentscope
is the combination of indent textobjects with visual indicators. Please consider adding the same indent guides that indent-blankline
has, to complete the package.
Thank for suggestion!
I considered implementing this for quite a while. Unfortunately, didn't find a way that is "not complicated", fast, and can be used with animation. As you are not the first one to ask this, I'll think about it.
After a long time of having this opened, I think I am going to close this. This feels like out of scope for 'mini.indentscope'. It now works correctly with 'lukas-reineke/indent-blankline.nvim' (doesn't cover its lines), so probably best to use them both.
I plan to implement #226 as compromise.