aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/mime_types.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/mime_types.lua')
-rw-r--r--modules/textadept/mime_types.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/mime_types.lua b/modules/textadept/mime_types.lua
index 3bed5a8a..5d19228c 100644
--- a/modules/textadept/mime_types.lua
+++ b/modules/textadept/mime_types.lua
@@ -290,7 +290,7 @@ function select_lexer()
'--no-newline',
'--string-output',
'--columns', 'Name',
- '--items', unpack(lexers))
+ '--items', lexers)
local response, lexer = out:match('([^\n]+)\n([^\n]+)$')
if response and response ~= 'gtk-cancel' then buffer:set_lexer(lexer) end
end