mirror of
https://github.com/mawww/kakoune.git
synced 2024-10-26 13:40:10 +03:00
Fix shell command completion fallback to filename
This commit is contained in:
parent
9a299b0016
commit
e52f83bd50
@ -564,7 +564,7 @@ CandidateList complete_command(StringView prefix, ByteCount cursor_pos)
|
||||
Vector<RankedMatch> matches;
|
||||
for (auto& file : files)
|
||||
{
|
||||
if (RankedMatch match{file, real_prefix})
|
||||
if (RankedMatch match{file, fileprefix})
|
||||
matches.push_back(match);
|
||||
}
|
||||
std::sort(matches.begin(), matches.end());
|
||||
|
Loading…
Reference in New Issue
Block a user