提交 6ae58634 编写于 作者: M Martin Aeschlimann

"files.associations" does not override file icons defined in "fileExtensions"...

"files.associations" does not override file icons defined in "fileExtensions" or "fileNames" icon theme tables. Fixes #58366
上级 d6f67eb9
......@@ -309,6 +309,9 @@ exports.update = function () {
def2Content[def] = contents[match[2]];
}
if (def === '_default') {
continue; // no need to assign default color.
}
if (pattern[0] === '.') {
ext2Def[pattern.substr(1).toLowerCase()] = def;
} else {
......
......@@ -1349,7 +1349,6 @@
"sty": "_tex_1",
"dtx": "_tex_2",
"ins": "_tex_3",
"txt": "_default",
"toml": "_config",
"twig": "_twig",
"spec.ts": "_typescript_1",
......@@ -1640,7 +1639,6 @@
"sty": "_tex_1_light",
"dtx": "_tex_2_light",
"ins": "_tex_3_light",
"txt": "_default_light",
"toml": "_config_light",
"twig": "_twig_light",
"spec.ts": "_typescript_1_light",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册