Skip to content

Commit e613af2

Browse files
committed
[seti] extensions & filenames are case insensitive
1 parent 122d3a6 commit e613af2

2 files changed

Lines changed: 11 additions & 31 deletions

File tree

extensions/theme-seti/build/update-icon-theme.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ exports.update = function () {
200200
let def = '_' + match[2];
201201
let colorId = match[3];
202202
if (pattern[0] === '.') {
203-
ext2Def[pattern.substr(1)] = def;
203+
ext2Def[pattern.substr(1).toLowerCase()] = def;
204204
} else {
205-
fileName2Def[pattern] = def;
205+
fileName2Def[pattern.toLowerCase()] = def;
206206
}
207207
def2ColorId[def] = colorId;
208208
}

extensions/theme-seti/icons/vs-seti-icon-theme.json

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -857,33 +857,23 @@
857857
"editorconfig": "_editorconfig",
858858
"slugignore": "_config",
859859
"tmp": "_clock",
860-
"DS_Store": "_ignored"
860+
"ds_store": "_ignored"
861861
},
862862
"fileNames": {
863863
"mix": "_hex",
864864
"karma.conf.js": "_karma",
865865
"karma.conf.coffee": "_karma",
866866
"bower.json": "_bower",
867-
"Bower.json": "_bower",
868867
"dockerfile": "_docker",
869-
"Dockerfile": "_docker",
870-
"DOCKERFILE": "_docker",
871-
"Gruntfile.js": "_grunt",
872-
"gruntfile.babel.js": "_grunt",
873-
"Gruntfile.babel.js": "_grunt",
874868
"gruntfile.js": "_grunt",
875-
"Gruntfile.coffee": "_grunt",
869+
"gruntfile.babel.js": "_grunt",
876870
"gruntfile.coffee": "_grunt",
877-
"GULPFILE": "_gulp",
878-
"Gulpfile": "_gulp",
879871
"gulpfile": "_gulp",
880872
"ionic.config.json": "_ionic",
881-
"Ionic.config.json": "_ionic",
882873
"ionic.project": "_ionic",
883-
"Ionic.project": "_ionic",
884-
"LICENSE": "_license",
885-
"Procfile": "_heroku",
886-
"TODO": "_todo",
874+
"license": "_license",
875+
"procfile": "_heroku",
876+
"todo": "_todo",
887877
"npm-debug.log": "_npm_ignored"
888878
},
889879
"languageIds": {
@@ -1031,7 +1021,7 @@
10311021
"editorconfig": "_editorconfig_light",
10321022
"slugignore": "_config_light",
10331023
"tmp": "_clock_light",
1034-
"DS_Store": "_ignored_light"
1024+
"ds_store": "_ignored_light"
10351025
},
10361026
"languageIds": {
10371027
"csharp": "_c-sharp_light",
@@ -1072,25 +1062,15 @@
10721062
"karma.conf.js": "_karma_light",
10731063
"karma.conf.coffee": "_karma_light",
10741064
"bower.json": "_bower_light",
1075-
"Bower.json": "_bower_light",
10761065
"dockerfile": "_docker_light",
1077-
"Dockerfile": "_docker_light",
1078-
"DOCKERFILE": "_docker_light",
1079-
"Gruntfile.js": "_grunt_light",
1080-
"gruntfile.babel.js": "_grunt_light",
1081-
"Gruntfile.babel.js": "_grunt_light",
10821066
"gruntfile.js": "_grunt_light",
1083-
"Gruntfile.coffee": "_grunt_light",
1067+
"gruntfile.babel.js": "_grunt_light",
10841068
"gruntfile.coffee": "_grunt_light",
1085-
"GULPFILE": "_gulp_light",
1086-
"Gulpfile": "_gulp_light",
10871069
"gulpfile": "_gulp_light",
10881070
"ionic.config.json": "_ionic_light",
1089-
"Ionic.config.json": "_ionic_light",
10901071
"ionic.project": "_ionic_light",
1091-
"Ionic.project": "_ionic_light",
1092-
"LICENSE": "_license_light",
1093-
"Procfile": "_heroku_light",
1072+
"license": "_license_light",
1073+
"procfile": "_heroku_light",
10941074
"npm-debug.log": "_npm_ignored_light"
10951075
}
10961076
},

0 commit comments

Comments
 (0)