1
0
Fork 0

improve lua mimetype detection

This commit is contained in:
Luca Bilke 2024-01-23 15:23:58 +01:00
parent ba95abbf2a
commit 48d4decdd3
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,2 @@
# MIME type Extensions
text/lua lua

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="text/lua">
<comment>Lua program</comment>
<alias type="application/x-lua"/>
<alias type="application/lua"/>
<sub-class-of type="application/x-executable"/>
<sub-class-of type="text/plain"/>
<generic-icon name="text-x-script"/>
<glob pattern="*.lua"/>
</mime-type>