diff options
author | TornaxO7 | 2023-12-15 18:05:04 +0000 |
---|---|---|
committer | GitHub | 2023-12-15 18:05:04 +0000 |
commit | 914c83420b9901f596bf771ad5f20495de9a070c (patch) | |
tree | 0437b4028945e74ce3f692d429cf9238433bde17 /helix-core/src | |
parent | 33d85606cf36da074d91db498d12233ab4978509 (diff) |
fix `:indent-style` crash (#9087)
* removing unreachable statement in `:indent-style`
* update checks when setting indent line and update docs
* `cargo xtask docgen`
Diffstat (limited to 'helix-core/src')
-rw-r--r-- | helix-core/src/indent.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/indent.rs b/helix-core/src/indent.rs index 9333460b..1e90db47 100644 --- a/helix-core/src/indent.rs +++ b/helix-core/src/indent.rs @@ -22,7 +22,7 @@ pub enum IndentStyle { // 16 spaces const INDENTS: &str = " "; -const MAX_INDENT: u8 = 16; +pub const MAX_INDENT: u8 = 16; impl IndentStyle { /// Creates an `IndentStyle` from an indentation string. |