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 29bea5b0..001dfa14 100644
--- a/modules/textadept/command_entry.lua
+++ b/modules/textadept/command_entry.lua
@@ -105,7 +105,7 @@ local function run_lua(code)
end
table.sort(items)
result = string.format('{%s}', table.concat(items, ', '))
- if buffer.edge_column > 0 and #result > buffer.edge_column then
+ if view.edge_column > 0 and #result > view.edge_column then
local indent = string.rep(' ', buffer.tab_width)
result = string.format(
'{\n%s%s\n}', indent, table.concat(items, ',\n' .. indent))