diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2014-06-12 21:18:13 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2014-06-12 21:18:13 -0400 |
commit | a9f6d85ead8c83ce210e5ffb05f84361e029f419 (patch) | |
tree | d7fcd5c957e3170f396eb515b94927174ad955d1 /scripts | |
parent | d3e1bd0272a6ac75d927e0c7d5fcfde91d90bcc4 (diff) |
Lua code cleanup.
Diffstat (limited to 'scripts')
-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 |