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

feature: Indent , allow disabling top level indent

Open Deshdeepak1 opened this issue 9 months ago • 5 comments

Did you check the docs?

  • [x] I have read all the snacks.nvim docs

Is your feature request related to a problem? Please describe.

I do like indent lines , but the top level is too distracting and unnecessary in most cases, and would like to turn it off.

Describe the solution you'd like

A config option to disable top level indent line.

Describe alternatives you've considered

NA

Additional context

No response

Deshdeepak1 avatar Mar 09 '25 05:03 Deshdeepak1

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Apr 09 '25 02:04 github-actions[bot]

Any progress on this?

Deshdeepak1 avatar Apr 09 '25 21:04 Deshdeepak1

+1 to this issue

I started using the plugin today and it is cool! I also prefer less noisy indent highlight, so I quickly hacked it in my fork - you can cherry pick the commit if you wish to have it right now: https://github.com/ilya-m32/snacks.nvim/commit/de713605cda1291cc1959fac417ea95243afde32.

Image

Disclaimer: I did not do much testing outside of my setup.

Depending on the maintainer opinion and availability, I can convert this into a full PR later.

ilya-m32 avatar Apr 19 '25 18:04 ilya-m32

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar May 20 '25 02:05 github-actions[bot]

Any progress on this?

Deshdeepak1 avatar May 20 '25 12:05 Deshdeepak1

This is exactly what I need. Thanks. Are there any contraindications for this patch to be included in the main branch?

rysson avatar Jun 16 '25 17:06 rysson

I've been using this patch for a while now and I'm happy with it, so I decided to make a PR: https://github.com/folke/snacks.nvim/pull/1985

ilya-m32 avatar Jun 18 '25 21:06 ilya-m32

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jul 31 '25 02:07 github-actions[bot]

Not stale. That PR should be merged.

Deshdeepak1 avatar Jul 31 '25 02:07 Deshdeepak1

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Sep 01 '25 02:09 github-actions[bot]

Not stale. That PR should be merged

Deshdeepak1 avatar Sep 01 '25 10:09 Deshdeepak1

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Oct 03 '25 02:10 github-actions[bot]

Still not stale. Just merge this PR, please.

rysson avatar Oct 03 '25 03:10 rysson

not interested in adding this. Thank you though

folke avatar Oct 20 '25 15:10 folke