Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MasouShizuka opened this issue Aug 5, 2024 · 9 comments

Comments

@MasouShizuka
Copy link

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
Copy link
Member

glepnir commented Aug 5, 2024

wrap is on ?

@MasouShizuka
Copy link
Author

Yes, vim.opt.wrap = true

@glepnir
Copy link
Member

glepnir commented Aug 5, 2024

so what's wrong here it just virtual lines.

@MasouShizuka
Copy link
Author

MasouShizuka commented Aug 5, 2024

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

How about the second?

@MasouShizuka
Copy link
Author

MasouShizuka commented Aug 5, 2024

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

image

@glepnir
Copy link
Member

glepnir commented Aug 5, 2024

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
Copy link
Author

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
Copy link
Author

Of course, you can make this a setting.

@glepnir
Copy link
Member

glepnir commented Aug 5, 2024

should be mark as a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants