diff options
Diffstat (limited to 'scripts/gen_plist.lua')
-rwxr-xr-x | scripts/gen_plist.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen_plist.lua b/scripts/gen_plist.lua index f96c2a57..f8337d43 100755 --- a/scripts/gen_plist.lua +++ b/scripts/gen_plist.lua @@ -8,7 +8,7 @@ local languages, extensions = {}, {} -- Read languages and extensions. local f = io.open('../modules/textadept/file_types.lua') -local types = f:read('*all'):match('M.extensions = (%b{})'):sub(2) +local types = f:read('*a'):match('M.extensions = (%b{})'):sub(2) f:close() for type in types:gmatch('(.-)[%],}]+') do if type:find('^%-%-') then |