lukas-reineke / headlines.nvim

This plugin adds horizontal highlights for text filetypes, like markdown, orgmode, and neorg.
MIT License
699 stars 28 forks source link

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

Closed chrisgrieser closed 4 months ago

chrisgrieser commented 1 year ago

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

lukas-reineke commented 1 year ago

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

chrisgrieser commented 1 year ago

Hmm, does not look like it

image image
illumiko commented 1 year ago

Hmm, does not look like it image image

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

adrian5 commented 1 year ago
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!

chrisgrieser commented 4 months ago

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.