@@ -500,18 +500,18 @@ impl EditorView {
500500
501501 // Compute the individual info strings.
502502 let diag_count = format!("{}", doc.diagnostics().len());
503− let indent_info = match doc.indent_style {
504− IndentStyle::Tabs => "tabs",
505− IndentStyle::Spaces(1) => "spaces:1",
506− IndentStyle::Spaces(2) => "spaces:2",
507− IndentStyle::Spaces(3) => "spaces:3",
508− IndentStyle::Spaces(4) => "spaces:4",
509− IndentStyle::Spaces(5) => "spaces:5",
510− IndentStyle::Spaces(6) => "spaces:6",
511− IndentStyle::Spaces(7) => "spaces:7",
512− IndentStyle::Spaces(8) => "spaces:8",
513− _ => "indent:ERROR",
514− };
503+ // let indent_info = match doc.indent_style {
504+ // IndentStyle::Tabs => "tabs",
505+ // IndentStyle::Spaces(1) => "spaces:1",
506+ // IndentStyle::Spaces(2) => "spaces:2",
507+ // IndentStyle::Spaces(3) => "spaces:3",
508+ // IndentStyle::Spaces(4) => "spaces:4",
509+ // IndentStyle::Spaces(5) => "spaces:5",
510+ // IndentStyle::Spaces(6) => "spaces:6",
511+ // IndentStyle::Spaces(7) => "spaces:7",
512+ // IndentStyle::Spaces(8) => "spaces:8",
513+ // _ => "indent:ERROR",
514+ // };
515515 let position_info = {
516516 let pos = coords_at_pos(doc.text().slice(..), doc.selection(view.id).cursor());
517517 format!("{}:{}", pos.row + 1, pos.col + 1) // convert to 1-indexing
@@ -519,9 +519,9 @@ impl EditorView {
519519
520520 // Render them to the status line together.
521521 let right_side_text = format!(
522− "{} {} {} ",
522+ "{} {} ",
523523 &diag_count[..diag_count.len().min(4)],
524− indent_info,
524+ // indent_info,
525525 position_info
526526 );
527527 let text_len = right_side_text.len() as u16;