diff options
Diffstat (limited to 'helix-term/src/ui/statusline.rs')
-rw-r--r-- | helix-term/src/ui/statusline.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/statusline.rs b/helix-term/src/ui/statusline.rs index 75e5dbd7..b2836f50 100644 --- a/helix-term/src/ui/statusline.rs +++ b/helix-term/src/ui/statusline.rs @@ -329,7 +329,7 @@ fn render_file_type<F>(context: &mut RenderContext, write: F) where F: Fn(&mut RenderContext, String, Option<Style>) + Copy, { - let file_type = context.doc.language_id().unwrap_or("text"); + let file_type = context.doc.language_name().unwrap_or("text"); write(context, format!(" {} ", file_type), None); } |