Yggdroot / indentLine

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

indentLine visual quirk whilst incremental searching #320

Closed bluz71 closed 3 years ago

bluz71 commented 4 years ago

Hello,

A screenshot with the visual quirk (doing an incremental search):

IndentLine_Screenshot

Notice the block hole in the yellow highlight, that is an indentLine marker. Disable indentLine and the hole goes away.

Steps to reproduce:

class Foo
  def initialize
    value = 1 + 2
    puts "Initialize: #{value}"
  end
end

Note also, the same type of quirk also exists with Neovim's upcoming highlight yanked text feature as seen here in this screenshot:

YankTextHighlight

This screenshot is a yank operation, not a search; yank highlighting is only available with development versions of Neovim.

I suspect that conceal may not be configurable enough to solve these quirks? But it does not hurt to ask if this could be solved by the plugin. If not solvable, we will just have to live with it.

Many thanks.

bluz71 commented 3 years ago

I have shifted over to indent-blankline which uses Neovim's recent virtual-text-anywhere feature to render indent markers.

It does not suffer from this problem because it does not use conceal.

Hence, it is not worth going any further with this issue.

Best regards.