patch file types as plaintext ()

resolves 
This commit is contained in:
Timothy Carambat 2024-04-12 14:54:33 -07:00 committed by GitHub
parent a8e731f548
commit 2c6135aa54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,21 @@ class MimeDetector {
// which has had this extension far before TS was invented. So need to force re-map this MIME map.
this.lib.define(
{
"text/plain": ["ts", "py", "opts", "lock", "jsonl", "qml", "sh"],
"text/plain": [
"ts",
"py",
"opts",
"lock",
"jsonl",
"qml",
"sh",
"c",
"cs",
"h",
"js",
"lua",
"pas",
],
},
true
);