Yggdroot / indentLine

A vim plugin to display the indention levels with thin vertical lines
MIT License
4.14k stars 227 forks source link

Vim Sneak highlights indent guides in window splits that don't have cursor focus #308

Open lynndylanhurley opened 4 years ago

lynndylanhurley commented 4 years ago

It looks like the indent guides are disabled while using sneak in the current buffer. I'm assuming this is to avoid conflicts with the conceal functionality. This is totally fine and I don't see any issues with the way that this works.

The problem is that the indent guides are still enabled for all of the other window splits, and in those splits the indent guides are highlighted whenever I'm using sneak (see the right pane in the attached screenshot).

Screen Shot 2020-05-09 at 5 26 48 PM

This creates a lot of visual noise and is really annoying when I have a lot of splits open and I'm trying to focus on which character to jump to.

Is there any way to disable the indent guides across all panes while in sneak mode?

Wasn't sure if this was a sneak issue or an indentLine issue so I also posted to justinmk/vim-sneak#252.