From eadad13efabb6a838a366b27002e09e1d2580750 Mon Sep 17 00:00:00 2001 From: Jan Hrastnik Date: Tue, 16 Mar 2021 13:55:12 +0100 Subject: preparing for gd merge --- helix-term/src/commands.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'helix-term/src') diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 20f51ef4..45e8cd01 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -857,8 +857,6 @@ fn goto(cx: &mut Context, locations: Vec) { doc.mode = Mode::Normal; - log::info!("{:?}", locations); - match locations.as_slice() { [location] => { cx.editor @@ -874,7 +872,7 @@ fn goto(cx: &mut Context, locations: Vec) { locations, |item| { let file = item.uri.as_str(); - let line = item.range.start.line.to_string(); + let line = item.range.start.line; format!("{}:{}", file, line).into() }, move |editor: &mut Editor, item| { -- cgit v1.2.3-70-g09d2