aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/indent.rs
diff options
context:
space:
mode:
authorTornaxO72023-12-15 18:05:04 +0000
committerGitHub2023-12-15 18:05:04 +0000
commit914c83420b9901f596bf771ad5f20495de9a070c (patch)
tree0437b4028945e74ce3f692d429cf9238433bde17 /helix-core/src/indent.rs
parent33d85606cf36da074d91db498d12233ab4978509 (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/indent.rs')
-rw-r--r--helix-core/src/indent.rs2
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.