-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only show secondary icon for know filenames and extensions #88
Comments
To put it another way, you think the first element (the bit before the first dot) of a file name should be ignored unless it's a known file name such as |
Yes, pretty much. |
That change would mean a little more. e.g. |
I think the behavior proposed by @Hirse is the best. |
@ivogabe OK, do you mind if I make this change and fix the bug in the other issue at the same time. Will be much quicker because I already started playing with this before the bug was raised? |
@cgfrost That would be great |
This pull request will fix things. (I'll stop tweeking the pull request as well) |
How about this? http://prnt.sc/eta6rj |
The best way to explain is probably by example:
Here I have three files with a secondary icon.
The first one - correctly - because of the combination of filename and file extension is somewhat reserved.
The second one - also correctly - because it has a secondary file extension.
The third one - in my opinion incorrectly - because the svg is not a secondary file extension but just the name of the file.
The text was updated successfully, but these errors were encountered: