Closed leiserfg closed 1 year ago
There are still some deprecated icons in your array
I just fixed the ones I noticed (because they clashed with Noto).
Hello there, @onsails. Just want to ask if this plugin is still being maintained. So far, there are 3 un-merged pull requests, the oldest of which dates as far back as last year.
Thanks for the plugin and cheers.
In the meantime, feel free to use https://github.com/leiserfg/lspkind.nvim/ I won't be adding more changes (as lspkind is "done") but it has the new icons.
some icons are not right in this PR though. I do recommend using nerdfix in both readme and init.lua and accepting first suggestion (which turns out to be the real replacement)
some icons are not right in this PR though. I do recommend using nerdfix in both readme and init.lua and accepting first suggestion (which turns out to be the real replacement)
I used nerdfix to get the replacements.
some icons are not right in this PR though. I do recommend using nerdfix in both readme and init.lua and accepting first suggestion (which turns out to be the real replacement)
Text, Field and Class look a bit different now, but i think that's intended.
Not sure about Unit.
Text, Field and Class look a bit different now, but i think that's intended.
Class looks a bit different this time because @leiserfg used the codicon class symbol (codepoint eb5b) instead of the material design "shape" icon (codepoint f0831), which was the original.
Text, Field and Class look a bit different now, but i think that's intended.
Class looks a bit different this time because @leiserfg used the codicon class symbol (codepoint eb5b) instead of the material design "shape" icon (codepoint f0831), which was the original.
I'll change it to the material one if that is a big deal.
I'll change it to the material one if that is a big deal.
It's not that big of a deal at all.
Which would be a big deal if the author @onsails reports back. =)
Sorry for the delay guys, have been traveling a lot. Merged!
I think it's worth calling out that this is a breaking change unless you have installed a nerdfont with v3 glpyhs. Dunno how one would've prevented that, but I stumbled across this as I synced my packages but didn't update any fonts, which broke it.
Came here cause I had to do sleuthing to realize that this was the cause of my config breaking. Many things could have been done to mitigate this breaking change. Here are some off the top of my head:
In any case, thanks for the contributions. Next time try to do it in a more thoughtful way.
In any case, thanks for the contributions. Next time try to do it in a more thoughtful way.
IMHO this is not an issue, you can:
Good for you that you don't think breaking changes are a problem! Some of us do.
@ElPiloto what is breaking is that it stopped working for most users that had packages updated, it was important to change it :(
@carlosala The claim here is that "it stopped working for most users that had packages updated." The breaking changes from nerdfont v3 happened 1 month ago so your claim amounts to saying "most lspkind users have updated their nerdfont in the last month." At the very least that claim needs to be supported. But my intuition says most users aren't updating their fonts on a weekly or monthly basis.
But that's besides the point really: the breaking change in nerdfonts v3 was propagated as another breaking change here. There are graceful ways to deal with breaking changes, none of which were deployed here (it wasn't even flagged as a breaking change anywhere by the commit author). And when I did say suggest dealing with it gracefully in the future, the response was basically "breaking changes don't matter: either pin your version or update your fonts." But again, some people do think breaking changes are a problem. Here is an example of someone else's plugin where they do care about introducing breaking changes gracefully. There are plenty more examples on the internet.
@ElPiloto from v2.3.0 it's not breaking actually, January 18th was the release. But yeah, you are right in terms of breaking changes
I get the point of avoiding breaking changes as much as possible, if you check LuaSnip you will see all the internal workarounds we have done there to make it as backward-compatible as we could. But in this case, you spent more energy discussing than the one required for updating the font, and/or creating an issue that could be then pinned for reference for any other user with the same problem. In any case sorry for the annoyance, but please, chill out.
some icons are not right in this PR though. I do recommend using nerdfix in both readme and init.lua and accepting first suggestion (which turns out to be the real replacement)
I used nerdfix to get the replacements.
how did u use nerdfix to solve those problems? im still confused
@onsails could we merge here? It's a really great improvement for nerd fonts version >3.