this post was submitted on 14 Jun 2023
4 points (100.0% liked)

VIM - Vi Improved

103 readers
1 users here now

VIM - Vi Improved, text editor community

Please use English.

founded 4 years ago
MODERATORS
 

Hi, I have set up my neovim config listchars like so:

vim.opt.listchars = { tab = "│ ", trail = "·", precedes = "<", extends = ">", nbsp = "○" }

But for empty lines between the indentations there are these awful holes left.

I used to use intent-blankline.nvim but I want to try to tone down my plugin usage, and I pretty much used it only to fix this issue, could somebody help me?

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Well, it's not an issue or a bug. It's a logical way to work. When you create a newline to space some code, there is not tab char on it. So (neo)vim just show an empty line (no tab list char)

[–] [email protected] 2 points 1 year ago

This is Neovim specific, not Vim. I haven't looked at Neovim in a couple years. What else is in your config? According to the git directions, it looks like you should have:

require("indent_blankline").setup {
    show_end_of_line = true,
}

in there. Again, I don't run Neovim, so I can't test it out.

[–] [email protected] 1 points 1 year ago

These are actually important. The "holes" show you that there is no (spurious) whitespace on that line.

load more comments
view more: next ›