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:
parent
b43033e393
commit
fb58e4a35e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue