nvim-tree / nvim-web-devicons

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

Normalize case #217

Closed mskelton closed 1 year ago

mskelton commented 1 year ago

Fixes https://github.com/nvim-tree/nvim-web-devicons/issues/44

This updates all the icon mappings to be fully lower case and then sanitizes the name passed in to get_icon to be lowercase as well. This makes the plugin now case insensitive to better support variations in filename casing.

alex-courtis commented 1 year ago

This is technically a break in API, however it is sensible functionality that shouldn't break existing users.