mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 13:01:21 -03:00
reader handle_completions(): remove stale comment
See 656b39a0b3 (Also show case-insensitive prefix matches in completion pager, 2025-11-23).
This commit is contained in:
@@ -6700,11 +6700,6 @@ fn handle_completions(&mut self, token_range: Range<usize>, mut comp: Vec<Comple
|
||||
|
||||
if comp.len() == 1 {
|
||||
// After sorting and stuff only one completion is left, use it.
|
||||
//
|
||||
// TODO: This happens when smartcase kicks in, e.g.
|
||||
// the token is "cma" and the options are "cmake/" and "CMakeLists.txt"
|
||||
// it would be nice if we could figure
|
||||
// out how to use it more.
|
||||
let c = std::mem::take(&mut comp[0]);
|
||||
|
||||
self.try_insert(c, &tok, token_range);
|
||||
|
||||
Reference in New Issue
Block a user