Add support for .mojo filename extension
SimplyYummy opened this issue · comments
Thanks for this great and awesome app. Can we get .mojo
and .🔥
extensions for mojo files supported?
It isn't currently supported at the moment as its a new language that's a superset of python. Currently there is no preview when using quicklook, which is expected as its a new programming language.
-
Website for mojo language: https://docs.modular.com/mojo/
-
Mojo's official syntax highlighting: https://github.com/modularml/mojo-syntax
-
Converted syntax to tmLanguage if it helps: https://github.com/SimplyYummy/Modular-Mojo-Syntax-Highlighting/blob/main/mojo.syntax.tmLanguage
Running mdls -name kMDItemContentType -name kMDItemContentTypeTree filename.mojo
shows the below:
kMDItemContentType = "com.coteditor.mojo"
kMDItemContentTypeTree = (
"com.coteditor.mojo",
"public.source-code",
"public.plain-text",
"public.text",
"public.data",
"public.item",
"public.content"
)
And the output from Inquiry
window in Syntax Highlighter.app: