aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-03-13 17:33:34 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-03-13 17:33:34 -0400
commit753b949ae0ff0f574a7a8247ff936be623d815c3 (patch)
treed7caf986f29b92c11677a8ed480f53ca8367dc5b /modules/textadept/command_entry.lua
parent2bf12e0e8ca11e37277a12123d5f6b5045d9c781 (diff)
downloadtextadept-753b949ae0ff0f574a7a8247ff936be623d815c3.tar.gz
textadept-753b949ae0ff0f574a7a8247ff936be623d815c3.zip
More code cleanup, refactoring, and reformatting.
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, ', '))