nvim-tree / nvim-web-devicons

lua `fork` of vim-web-devicons for neovim
MIT License
1.95k stars 183 forks source link

Make `refresh*` functions public #298

Closed simonmandlik closed 10 months ago

simonmandlik commented 10 months ago

It would be great to be able to call require("nvim-web-devicons").refresh* functions programatically on demand, not only on autocommand. This would help immensely especially during startup, when autocommands may not (yet) be available.

If you agree, I can make a PR for that

alex-courtis commented 10 months ago

That sounds reasonable. We should call set_up_highlights as well.

Yes please, do create a PR: https://github.com/nvim-tree/nvim-web-devicons/blob/master/CONTRIBUTING.md

simonmandlik commented 10 months ago

Sure, here it is https://github.com/nvim-tree/nvim-web-devicons/pull/301