diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-10-05 23:30:20 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-10-05 23:30:20 +0100 |
| commit | c41a7eed097ef75a2bd10a60e06e3c1c1518599e (patch) | |
| tree | ef30b8f3331000f461db898a2c001013312e625e /src/insert_completer.cc | |
| parent | 31cc61b6fce0c0bb1a3cad35e9d73bd65f16f365 (diff) | |
Fix display of path insert completion for absolute paths
Diffstat (limited to 'src/insert_completer.cc')
| -rw-r--r-- | src/insert_completer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insert_completer.cc b/src/insert_completer.cc index af1d2db1..14bb3b1e 100644 --- a/src/insert_completer.cc +++ b/src/insert_completer.cc @@ -180,7 +180,7 @@ InsertCompletion complete_filename(const Buffer& buffer, ByteCoord cursor_pos, if (prefix.front() == '/') { for (auto& filename : Kakoune::complete_filename(prefix, Regex{})) - candidates.push_back({std::move(filename), ""}); + candidates.push_back({ filename, "", { filename, {} } }); } else { |
