diff options
author | pommicket <pommicket@gmail.com> | 2023-01-06 11:34:42 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-06 11:34:42 -0500 |
commit | 268aba5dde93b67df5f5bd137141eeb177485685 (patch) | |
tree | 7971dd7fa565ff9efb3ee6857b68164a317a92ab /command.c | |
parent | da244a2bfb1e1139e772e272166fc0ecd4898ad4 (diff) |
start phantom completions
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -281,8 +281,8 @@ void command_execute(Ted *ted, Command c, i64 argument) { buffer = &ted->line_buffer; ted_switch_to_buffer(ted, buffer); buffer_select_all(buffer); - } else if (ted->autocomplete.open) { - autocomplete_select_cursor_completion(ted); + } else if (ted->autocomplete.open || ted->autocomplete.phantom) { + autocomplete_select_completion(ted); } else if (buffer) { if (buffer->selection) buffer_indent_selection(buffer); |