Skip to content
Snippets Groups Projects
Commit c870e31a authored by timothycarambat's avatar timothycarambat
Browse files

add `ino` filetype to text/plain support

parent 79ce26de
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ class MimeDetector { ...@@ -38,6 +38,7 @@ class MimeDetector {
"pas", "pas",
"r", "r",
"go", "go",
"ino",
], ],
}, },
true true
...@@ -47,7 +48,7 @@ class MimeDetector { ...@@ -47,7 +48,7 @@ class MimeDetector {
// These are file types that are not detected by the mime library and need to be processed as text files. // These are file types that are not detected by the mime library and need to be processed as text files.
// You should only add file types that are not detected by the mime library, are parsable as text, and are files // You should only add file types that are not detected by the mime library, are parsable as text, and are files
// with no extension. Otherwise, their extension should be added to the overrides array. // with no extension. Otherwise, their extension should be added to the overrides array.
#specialTextFileTypes = ["dockerfile", "jenkinsfile"]; #specialTextFileTypes = ["dockerfile", "jenkinsfile", "dockerignore"];
/** /**
* Returns the MIME type of the file. If the file has no extension found, it will be processed as a text file. * Returns the MIME type of the file. If the file has no extension found, it will be processed as a text file.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment