Unnamed repository; edit this file 'description' to name the repository.
fix: Remove leftover debug println! (#12138)
Introduced in https://github.com/helix-editor/helix/commit/dc941d6d24cd4876f75e68487047542239b8316a
Poliorcetics 2024-11-27
parent 7676106 · commit 0f47292
-rw-r--r--helix-term/src/commands.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 55f8fb9c..341fff8c 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -1286,7 +1286,6 @@ fn goto_file_impl(cx: &mut Context, action: Action) {
// rarely so in practice) so that gf on quoted/braced path works (not sure about this
// but apparently that is how gf has worked historically in helix)
let path = find_paths(search_range, true)
- .inspect(|mat| println!("{mat:?} {:?}", pos - search_start))
.take_while(|range| search_start + range.start <= pos + 1)
.find(|range| pos <= search_start + range.end)
.map(|range| Cow::from(search_range.byte_slice(range)));