Skip to content

Icon used for file is different than mode used for file extension #47

@peterpolidoro

Description

@peterpolidoro

Hi. If I set a file extension to used a particular mode, the correct icon for that mode shows up in the modeline when a buffer is looking at that file. However when I look at the directory that contains that file in dired, the incorrect icon is used for that file. Is there a way to tell all-the-icons-dired to use the mode set for that file extension when selecting the icon?

For example, I set the file extension "\\.m\\" to use matlab-mode with use-package. The Matlab icon is then correctly shown in the modeline when I open a .m file. However when I look at the directory containing that file, an Apple icon is used for files with the .m extension. How can I make dired use the propery Matlab icon instead of the Apple icon for files with the .m extension?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions