mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-18 08:51:46 +03:00
Small code tweak
This commit is contained in:
parent
50a64a0544
commit
7b52b00b94
@ -43,7 +43,7 @@ using Completer = std::function<Completions (const Context&, CompletionFlags,
|
||||
inline Completions complete_nothing(const Context& context, CompletionFlags,
|
||||
StringView, ByteCount cursor_pos)
|
||||
{
|
||||
return Completions(cursor_pos, cursor_pos);
|
||||
return {cursor_pos, cursor_pos};
|
||||
}
|
||||
|
||||
Completions shell_complete(const Context& context, CompletionFlags,
|
||||
|
Loading…
Reference in New Issue
Block a user