diff options
Diffstat (limited to 'helix-view/src')
-rw-r--r-- | helix-view/src/editor.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 61d148d3..f5ed7b8f 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -611,7 +611,9 @@ impl std::str::FromStr for GutterType { "spacer" => Ok(Self::Spacer), "line-numbers" => Ok(Self::LineNumbers), "diff" => Ok(Self::Diff), - _ => anyhow::bail!("Gutter type can only be `diagnostics` or `line-numbers`."), + _ => anyhow::bail!( + "Gutter type can only be `diagnostics`, `spacer`, `line-numbers` or `diff`." + ), } } } |