Closed Parad0x84 closed 1 month ago
Sorry to ask, but do you have any of the Nerd Fonts installed?
@keyclicker Well I have some installed on system, but nowhere in neovim config I specified any. So it shouldn't effect things, right? Or is it a requirement? I didn't see it in the readme
You should install one of this fonts as your terminal emulator font. (I guess it's Windows Terminal in your case.)
I installed this one, but still same result
As previously commented, this looks like you haven't set up your terminal to use a patched font. I can't speak to how you would do this on Windows, but here's how you can verify if it's working: copy the glyph below and paste it into your terminal (in the prompt is fine, doesn't have to be in neovim). If you see a circle with a check, your font is working. If not, your font is not set up properly.
It should look like this:
Well, it looks fine
Iiiinteresting. In neovim, what do you see if you run this command
:=require("mini.icons").get("file", "test.lua")
Here:
Well, that is strange that it appears to work in your terminal but doesn't work in Neovim. I don't have any other debugging ideas, but at this point it is also very clearly nothing to do with oil.nvim. You could try posting an issue on mini.nvim about the problem, including the debugging steps you've already taken with pasting the icon in the terminal and the output of :=require("mini.icons").get("file", "test.lua")
It turns out that specific font has something to do with the issue (MesloLGS NF) After installing another one (FiraCodeNerdFont), issue seems to be resolved. Thanks for your help :)
Did you check the docs and existing issues?
Neovim version (nvim -v)
0.10.0
Operating system/version
Win11
Describe the bug
Icons looks weird (mini.icons)
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
I have following lua file included by Lazy oil-nvim.txt
Expected Behavior
I expect to see real icons. Currently it looks like icons have very low width
Directory structure
Anything
Repro
Did you check the bug with a clean config?
nvim -u repro.lua
using the repro.lua file above.