1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-18 17:02:06 +03:00

Small code tweak

This commit is contained in:
Maxime Coste 2016-03-24 22:15:11 +00:00
parent 50a64a0544
commit 7b52b00b94

View File

@ -43,7 +43,7 @@ using Completer = std::function<Completions (const Context&, CompletionFlags,
inline Completions complete_nothing(const Context& context, CompletionFlags, inline Completions complete_nothing(const Context& context, CompletionFlags,
StringView, ByteCount cursor_pos) StringView, ByteCount cursor_pos)
{ {
return Completions(cursor_pos, cursor_pos); return {cursor_pos, cursor_pos};
} }
Completions shell_complete(const Context& context, CompletionFlags, Completions shell_complete(const Context& context, CompletionFlags,