summaryrefslogtreecommitdiff
path: root/helix-term/src/ui/editor.rs
diff options
context:
space:
mode:
authorNathan Vegdahl2021-06-14 01:09:22 +0000
committerNathan Vegdahl2021-06-15 01:32:23 +0000
commit358ea6a37ccc3ee98f3680c9b4ee0dd0aa0781d2 (patch)
tree4278424ca919d4caf0a6e57eb877c8055467f94a /helix-term/src/ui/editor.rs
parent8648e483f772b4791e5618c4c8b3db8926ae356d (diff)
Implement command to change the indent-style setting of a document.
Diffstat (limited to 'helix-term/src/ui/editor.rs')
-rw-r--r--helix-term/src/ui/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 65b114a6..5db68751 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -501,7 +501,7 @@ impl EditorView {
// Compute the individual info strings.
let diag_count = format!("{}", doc.diagnostics().len());
let indent_info = match doc.indent_style {
- IndentStyle::Tabs => "tab",
+ IndentStyle::Tabs => "tabs",
IndentStyle::Spaces(1) => "spaces:1",
IndentStyle::Spaces(2) => "spaces:2",
IndentStyle::Spaces(3) => "spaces:3",