diff options
author | 2009-07-07 18:19:48 -0400 | |
---|---|---|
committer | 2009-07-07 18:19:48 -0400 | |
commit | 7d8b623ea9c0391657a332f7270737f779187797 (patch) | |
tree | 110553e37fa4e66612039714d136abc246caac4a | |
parent | 4b4fa715be9748929eeebbfc6fe35bd94ba76a31 (diff) | |
download | textadept-7d8b623ea9c0391657a332f7270737f779187797.tar.gz textadept-7d8b623ea9c0391657a332f7270737f779187797.zip |
Mime-types can be user-redefinable; core/ext/mime_types.lua
-rw-r--r-- | core/ext/mime_types.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/ext/mime_types.lua b/core/ext/mime_types.lua index 43ee2f9d..6d607b6c 100644 --- a/core/ext/mime_types.lua +++ b/core/ext/mime_types.lua @@ -7,22 +7,22 @@ local locale = _G.locale module('textadept.mime_types', package.seeall) --- --- [Local table] File extensions with their associated lexers. +-- File extensions with their associated lexers. -- @class table -- @name extensions -local extensions = {} +extensions = {} --- --- [Local table] Shebang words and their associated lexers. +-- Shebang words and their associated lexers. -- @class table -- @name shebangs -local shebangs = {} +shebangs = {} --- --- [Local table] First-line patterns and their associated lexers. +-- First-line patterns and their associated lexers. -- @class table -- @name patterns -local patterns = {} +patterns = {} -- Load mime-types from mime_types.conf local f = io.open(_HOME..'/core/ext/mime_types.conf', 'rb') |