Open sethen opened 1 month ago
Are you sure it's a glyph from NF? Seems you're using a faulty codepoint.
Are you sure it's a glyph from NF? Seems you're using a faulty codepoint.
Guess I don't understand how that would be a faulty codepoint? How does it work with .ts
extensions but when test.ts
is in the file it doesn't work?
I meant that in your snippet you used codepoint EA55 and in NerdFonts there is no associated glyph. If you got a "square" there it's because there is no glyph there.
I tried replacing the icons and works:
I meant that in your snippet you used codepoint EA55 and in NerdFonts there is no associated glyph. If you got a "square" there it's because there is no glyph there.
I tried replacing the icons and works:
You're correct, there is no code point in NerdFonts. I use my own custom icon font and define the codepoints in Kitty (Terminal).
What you're seeing with the code point (EA55) is the same code point for the .ts
files. So I am confused why it won't load the same icon for the same file extension.
I tried changing both extensions to the same char and also works. Not sure what could be happening on your end, maybe using override_by_extension
makes a change.
Looks like nvim-web-devicons gets confused with you use more than one period for the extension in a file name. I would expect it to know that it should apply the same icon to
.ts
files as it does fortest.ts
files, but it doesn't. You have to addtest.ts
to the config or it will not apply. To make it work I have to do something like this:Here's what it looks like if I would take the
test.ts
configuration out: