mini.nvim icon indicating copy to clipboard operation
mini.nvim copied to clipboard

inner indent indicators

Open bennypowers opened this issue 2 years ago • 1 comments

Contributing guidelines

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. Screen Shot 2022-04-24 at 15 40 15

mini.indentscope can be configured to display instantly, similar to indent-blankline, but it only shows an indicator for the active indent level: Screen Shot 2022-04-24 at 15 45 03

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.

bennypowers avatar Apr 24 '22 12:04 bennypowers

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.

echasnovski avatar Apr 24 '22 13:04 echasnovski

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.

echasnovski avatar Feb 13 '23 10:02 echasnovski