Fix display of path insert completion for absolute paths
This commit is contained in:
parent
31cc61b6fc
commit
c41a7eed09
|
@ -180,7 +180,7 @@ InsertCompletion complete_filename(const Buffer& buffer, ByteCoord cursor_pos,
|
||||||
if (prefix.front() == '/')
|
if (prefix.front() == '/')
|
||||||
{
|
{
|
||||||
for (auto& filename : Kakoune::complete_filename(prefix, Regex{}))
|
for (auto& filename : Kakoune::complete_filename(prefix, Regex{}))
|
||||||
candidates.push_back({std::move(filename), ""});
|
candidates.push_back({ filename, "", { filename, {} } });
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user