Skip to content

Commit d915ae7

Browse files
committed
Set separator character before other buffer:auto_c_show() calls, as recommended.
1 parent cec0283 commit d915ae7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ function M.complete_lua()
111111
end
112112
end
113113
table.sort(cmpls)
114-
buffer.auto_c_order = buffer.ORDER_PRESORTED
115-
buffer:auto_c_show(#part - 1, table.concat(cmpls, string.char(buffer.auto_c_separator)))
114+
buffer.auto_c_separator, buffer.auto_c_order = string.byte(' '), buffer.ORDER_PRESORTED
115+
buffer:auto_c_show(#part - 1, table.concat(cmpls, ' '))
116116
end
117117

118118
--- Cycle backward through command history, taking into account commands with multiple lines.

0 commit comments

Comments
 (0)