Closed sdifru closed 1 year ago
Recently we've got a major version release from nerd-font (v3.0.0) so it might be that the fonts on your system are too old.
Would that fix when you update your fonts?
I searched for nerd fonts in the arch repo and it returned a lot of nerd fonts. Which one?
I accidentally pressed close issue button, sorry.
@sdifru Hopefully someone will come by and chime in with what worked for them, but if it's really important to you, you could try and find one and report back what works for you? The Unicode code point starts at https://www.compart.com/en/unicode/U+2488.
It's hard to say what font/font versions exactly are going to be on every distribution. Honestly, I've just avoided these particular troublesome glyphs and configured my https://github.com/nvim-neorg/neorg/wiki/Concealer with
['core.concealer'] = {
config = {
icons = {
ordered = {
level_1 = {
icon = tostring,
},
},
},
},
},
}, -- Adds pretty icons to your documents
which uses the lua tostring
function. Read more from the Wiki or dive into the implementation in https://github.com/nvim-neorg/neorg/blob/main/lua/neorg/modules/core/concealer/module.lua to understand more. You lose the dot after the number, but you gain the ability to go past 20 since Unicode doesn't have any numbers after 20 for the style used in the default concealer preset.
I've solved this problem. I installed noto-fonts and everything worked as expected.
Prerequisites
Neovim Version
NVIM v0.9.0
Neorg setup
Actual behavior
It renders square
Expected behavior
The square should be a number.
Steps to reproduce
I use wezterm. Wezterm includes fonts. I've used wezterm and neorg and there hasn't been any problem. Recently this problem occurs. Tbh I don't if it is wezterm, neorg, or something else.
Potentially conflicting plugins
No response
Other information
No response
Help
None
Implementation help
No response