provider: ensure we handle python3 mimetype.

This commit is contained in:
Alastair Poole 2018-09-07 00:22:40 +01:00
parent af1ff5608d
commit a69eda48ce
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ Edi_Language_Provider *edi_language_provider_for_mime_get(const char *mime)
id = "c";
if (!strcasecmp(mime, "text/rust"))
id = "rust";
if (!strcasecmp(mime, "text/x-python"))
if (!strcasecmp(mime, "text/x-python") || !strcasecmp(mime, "text/x-python3"))
id = "python";
if (!strcasecmp(mime, "text/x-go"))
id = "go";