Bekaboo / dropbar.nvim

IDE-like breadcrumbs, out of the box
GNU General Public License v3.0
1.05k stars 24 forks source link

fix: add filetype devicon as fallback #185

Closed PeterCardenas closed 1 month ago

PeterCardenas commented 1 month ago

If the devicon does not exist for a filename/extension, we try to find it by the filetype buffer option value first before defaulting to the default icon for a file. This is similar to the behavior for lualine plugin.

This is useful for when the filetype is the buffer not by extension but by other means, e.g. from shebang values or custom filetype plugins.

Bekaboo commented 1 month ago

Thanks for your contribution!