diff --git a/src/commands.cc b/src/commands.cc index 8fe38134..056e7017 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -826,7 +826,7 @@ const CommandDesc rename_buffer_cmd = { single_param, CommandFlags::None, CommandHelper{}, - make_single_word_completer([](const Context& context){ return context.buffer().display_name(); }), + filename_completer, [](const ParametersParser& parser, Context& context, const ShellContext&) { if (not context.buffer().set_name(parser[0]))