mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-12 11:39:57 +01:00
[seti] extensions & filenames are case insensitive
This commit is contained in:
@@ -200,9 +200,9 @@ exports.update = function () {
|
||||
let def = '_' + match[2];
|
||||
let colorId = match[3];
|
||||
if (pattern[0] === '.') {
|
||||
ext2Def[pattern.substr(1)] = def;
|
||||
ext2Def[pattern.substr(1).toLowerCase()] = def;
|
||||
} else {
|
||||
fileName2Def[pattern] = def;
|
||||
fileName2Def[pattern.toLowerCase()] = def;
|
||||
}
|
||||
def2ColorId[def] = colorId;
|
||||
}
|
||||
|
||||
@@ -857,33 +857,23 @@
|
||||
"editorconfig": "_editorconfig",
|
||||
"slugignore": "_config",
|
||||
"tmp": "_clock",
|
||||
"DS_Store": "_ignored"
|
||||
"ds_store": "_ignored"
|
||||
},
|
||||
"fileNames": {
|
||||
"mix": "_hex",
|
||||
"karma.conf.js": "_karma",
|
||||
"karma.conf.coffee": "_karma",
|
||||
"bower.json": "_bower",
|
||||
"Bower.json": "_bower",
|
||||
"dockerfile": "_docker",
|
||||
"Dockerfile": "_docker",
|
||||
"DOCKERFILE": "_docker",
|
||||
"Gruntfile.js": "_grunt",
|
||||
"gruntfile.babel.js": "_grunt",
|
||||
"Gruntfile.babel.js": "_grunt",
|
||||
"gruntfile.js": "_grunt",
|
||||
"Gruntfile.coffee": "_grunt",
|
||||
"gruntfile.babel.js": "_grunt",
|
||||
"gruntfile.coffee": "_grunt",
|
||||
"GULPFILE": "_gulp",
|
||||
"Gulpfile": "_gulp",
|
||||
"gulpfile": "_gulp",
|
||||
"ionic.config.json": "_ionic",
|
||||
"Ionic.config.json": "_ionic",
|
||||
"ionic.project": "_ionic",
|
||||
"Ionic.project": "_ionic",
|
||||
"LICENSE": "_license",
|
||||
"Procfile": "_heroku",
|
||||
"TODO": "_todo",
|
||||
"license": "_license",
|
||||
"procfile": "_heroku",
|
||||
"todo": "_todo",
|
||||
"npm-debug.log": "_npm_ignored"
|
||||
},
|
||||
"languageIds": {
|
||||
@@ -1031,7 +1021,7 @@
|
||||
"editorconfig": "_editorconfig_light",
|
||||
"slugignore": "_config_light",
|
||||
"tmp": "_clock_light",
|
||||
"DS_Store": "_ignored_light"
|
||||
"ds_store": "_ignored_light"
|
||||
},
|
||||
"languageIds": {
|
||||
"csharp": "_c-sharp_light",
|
||||
@@ -1072,25 +1062,15 @@
|
||||
"karma.conf.js": "_karma_light",
|
||||
"karma.conf.coffee": "_karma_light",
|
||||
"bower.json": "_bower_light",
|
||||
"Bower.json": "_bower_light",
|
||||
"dockerfile": "_docker_light",
|
||||
"Dockerfile": "_docker_light",
|
||||
"DOCKERFILE": "_docker_light",
|
||||
"Gruntfile.js": "_grunt_light",
|
||||
"gruntfile.babel.js": "_grunt_light",
|
||||
"Gruntfile.babel.js": "_grunt_light",
|
||||
"gruntfile.js": "_grunt_light",
|
||||
"Gruntfile.coffee": "_grunt_light",
|
||||
"gruntfile.babel.js": "_grunt_light",
|
||||
"gruntfile.coffee": "_grunt_light",
|
||||
"GULPFILE": "_gulp_light",
|
||||
"Gulpfile": "_gulp_light",
|
||||
"gulpfile": "_gulp_light",
|
||||
"ionic.config.json": "_ionic_light",
|
||||
"Ionic.config.json": "_ionic_light",
|
||||
"ionic.project": "_ionic_light",
|
||||
"Ionic.project": "_ionic_light",
|
||||
"LICENSE": "_license_light",
|
||||
"Procfile": "_heroku_light",
|
||||
"license": "_license_light",
|
||||
"procfile": "_heroku_light",
|
||||
"npm-debug.log": "_npm_ignored_light"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user