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_lower_string not working #61

Closed ssossah closed 12 months ago

ssossah commented 12 months ago

Hello, fat_headline_lower_string isn't rendering as expected (I am trying to get this to work for neorg specifically). The current implementation just renders it as a box with a question mark inside:

image

What can I do to get it to render as expected?

Also, is there a way to only highlight "Headline1" and "Headline2" rather then highlighting subsequent headlines?

Any help would be greatly appreciated!

lukas-reineke commented 12 months ago

box with a question mark inside

This means the font you are using doesn't support this character. Either use a different font, or use a different character.

Also, is there a way to only highlight "Headline1" and "Headline2" rather then highlighting subsequent headlines?

You can overwrite the query to only include the first 2 headlines.

reegnz commented 10 months ago

@lukas-reineke could you please mention a font name that the default config displays properly with?

rscircus commented 10 months ago

Same here. Patched my font with nerd-font patcher and it is missing.

JoseIgnacioGC commented 10 months ago

I recommend using the character.

-- example config
markdown = {
    fat_headline_lower_string = "▀",
}