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

Fat Headline not visible when Headlines are touching in org mode. #91

Closed theshatterstone closed 2 months ago

theshatterstone commented 2 months ago

I'm not sure if this is intentional or not, but when multiple Headlines are touching because they are collapsed or because they are simply written next to each other, the fat headline disappears at the point of contact. Is there a way to stop this from happening? Thanks

Screenshots below: 2024-08-15T15:52:33,694838644+01:00 2024-08-15T15:52:47,603969259+01:00

lukas-reineke commented 2 months ago

That is because what you see are not the actual headlines anymore. That's just :help 'foldtext'

Foldtext is not really in the buffer, so there is also no way to target it with treesitter. This won't be supported.