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.
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.