nvimdev / indentmini.nvim

A minimal and blazing fast indentline plugin
MIT License
170 stars 12 forks source link

[BUG]: The indent line is not displayed on the wrapped line. The unindented line continues the indent line above. #27

Open MasouShizuka opened 1 month ago

MasouShizuka commented 1 month ago

For convenience, I put the two bugs into one issue.

image

As shown in the picture, they correspond to the two parts of the title. Is this a bug, or is it designed this way?

glepnir commented 1 month ago

wrap is on ?

MasouShizuka commented 1 month ago

Yes, vim.opt.wrap = true

glepnir commented 1 month ago

so what's wrong here it just virtual lines.

MasouShizuka commented 1 month ago

Yes, that's not a big deal, if that's how it's designed.

How about the second?

MasouShizuka commented 1 month ago

By the way, this is what it looks like with indent-blankline.nvim.

image

glepnir commented 1 month ago

second is because for a blank line will use the a latest context indent. usually for program file . for markdown should be ignore blank like i think.

MasouShizuka commented 1 month ago

Yes, that's how the two styles of indentation are represented. indent-blankline.nvim chooses not to continue the indent line above to a blank line.

If you think this is the style of indentmini.nvim, I think it's okay not to fix it.

MasouShizuka commented 1 month ago

Of course, you can make this a setting.

glepnir commented 1 month ago

should be mark as a bug.