Closed Poly2it closed 2 months ago
I am also unable to override the "png" icon by filetype.
Sometimes I also have to restart Neovim as some icons in the table are not applied at random.
There were no configuration changes between the capturings of these two screenshots.
I wrote my own custom API-compatible icon plugin to resolve the bugs: https://github.com/Poly2it/nvim/tree/master/lua/modules/salt-icons.
Are you using the lazy plugin manager? It's startup ordering is unpredictably deterministic.
Most usages of web-devicons do cache icons, hence startup order is important.
Are you using the lazy plugin manager? It's startup ordering is unpredictably deterministic.
Most usages of web-devicons do cache icons, hence startup order is important.
Yes, do I close as unsupported?
Yes, do I close as unsupported?
In that case, try to ensure that lazy executes nvim-web-devicons setup before the other plugins that use it.
Alternatively you can try a deterministic plugin manager.
Closing, please do reply with your solution if that works for you.
I have tried overriding the
LICENSE
andREADME
file icons by filename, but they simply don't function. How do I override these? Here is the relevant configuration: