nvim-tree / nvim-web-devicons

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

feat: Allow overrides by patterns #471

Closed drew138 closed 3 weeks ago

drew138 commented 3 weeks ago

Some filetypes such as dockerfiles can be named in many different ways. Sometimes these are not covered by the prefix or filename methods that are currently supported. An override by pattern (regex) would simplify this and cover most cases

alex-courtis commented 3 weeks ago

Yes, it would be useful, no we can't implement regex matching, as it would be a massive performance hit.

Sorry!