elm_code: Make sure we handle python3 mime type.

Summary:
Let's not miss python3 mimetype when setting up
syntax highlighting.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7000
This commit is contained in:
Alastair Poole 2018-09-11 12:22:34 +01:00
parent b43033e393
commit fb58e4a35e
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ elm_code_syntax_for_mime_get(const char *mime)
return &_elm_code_syntax_c;
if (!strcmp("text/rust", mime))
return &_elm_code_syntax_rust;
if (!strcmp("text/x-python", mime))
if (!strcmp("text/x-python", mime) || !strcmp("text/x-python3", mime))
return &_elm_code_syntax_py;
if (!strcmp("text/x-eolian", mime))
return &_elm_code_syntax_eo;