aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/command_entry.lua')
-rw-r--r--modules/textadept/command_entry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua
index 87f1465a..5df63a25 100644
--- a/modules/textadept/command_entry.lua
+++ b/modules/textadept/command_entry.lua
@@ -78,7 +78,7 @@ local function run_lua(code)
if type(result) == 'table' then
local items = {}
for k, v in pairs(result) do
- items[#items + 1] = string.format('%s = %s', tostring(k), tostring(v))
+ items[#items + 1] = string.format('%s = %s', k, v)
end
table.sort(items)
result = string.format('{%s}', table.concat(items, ', '))