Let's open .eo files too

This commit is contained in:
Andy Williams 2015-01-23 23:31:28 +00:00
parent 2249bcfc71
commit ada1529dce
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,8 @@ EAPI Edi_Content_Provider *edi_content_provider_for_mime_get(const char *mime)
if (!strcasecmp(mime, "text/plain") || !strcasecmp(mime, "application/x-shellscript"))
id = "text";
else if (!strcasecmp(mime, "text/x-chdr") || !strcasecmp(mime, "text/x-csrc"))
else if (!strcasecmp(mime, "text/x-chdr") || !strcasecmp(mime, "text/x-csrc")
|| !strcasecmp(mime, "text/x-modelica"))
id = "text"; // TODO make a code view
else if (!strncasecmp(mime, "image/", 6))
id = "image";