headlines.nvim icon indicating copy to clipboard operation
headlines.nvim copied to clipboard

indentation guides and showbreak chars don't have the right background in codeblocks

Open chrisgrieser opened this issue 2 years ago • 4 comments
trafficstars

Thanks for the nice plugin, makes navigating big markdown files a bit easier.

indention guides (from indent-blankline) and fillchars/showbreak characters do not get the proper background, resulting in weird "holes" when in codeblocks

image

chrisgrieser avatar Jan 01 '23 20:01 chrisgrieser

Those highlight groups probably have an explicit background color set.

The linebreak should be NonText, so you can check with :highlight NonText. If it has a background color, remove it with :highlight NonText guibg=None

lukas-reineke avatar Jan 05 '23 05:01 lukas-reineke

Hmm, does not look like it image image

chrisgrieser avatar Jan 05 '23 08:01 chrisgrieser

Hmm, does not look like it image image

It seems to me that the linebreaks's highlight isnt following the guibg of the codeblock

illumiko avatar Jan 07 '23 13:01 illumiko

Screenshots image image

@chrisgrieser Sorry for being offtopic, but which theme is this? I looked at your dotfiles, but it doesn't quite match Nightfox, nor Tokyo Night. Thanks!

adrian5 avatar Oct 16 '23 22:10 adrian5

Hmm, the issue does not occur for me anymore with the new version of indent-blank lines. So if no one else has it, I guess this can be closed.

chrisgrieser avatar Jun 06 '24 21:06 chrisgrieser