indentLine icon indicating copy to clipboard operation
indentLine copied to clipboard

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

Open lynndylanhurley opened this issue 5 years ago • 0 comments

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.

lynndylanhurley avatar May 09 '20 22:05 lynndylanhurley