diff --git a/helix-term/src/ui/statusline.rs b/helix-term/src/ui/statusline.rs index 12a791937bed9..99a1d06c172b8 100644 --- a/helix-term/src/ui/statusline.rs +++ b/helix-term/src/ui/statusline.rs @@ -409,18 +409,18 @@ where write(context, format!(" {} ", file_type), None); } -fn render_path(context: &mut RenderContext, write: F, path: Option) +fn render_title(context: &mut RenderContext, write: F, path: Option) where F: Fn(&mut RenderContext, String, Option