aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/indent.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-10-14 03:01:41 +0000
committerBlaž Hrastnik2020-10-14 04:35:54 +0000
commitd64f4beede412dbf77df0e00c478b053a3d6cc54 (patch)
treed665023a2b6ead07a65487bbeb2bcd34e1f44ea3 /helix-core/src/indent.rs
parent0b74d423d017b8b201cf9a471f8c1fb1e96de148 (diff)
Share tab width definitions.
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 c1a4fd6c..932eaa24 100644
--- a/helix-core/src/indent.rs
+++ b/helix-core/src/indent.rs
@@ -4,7 +4,7 @@ use crate::{
Rope, RopeSlice, State,
};
-const TAB_WIDTH: usize = 4;
+pub const TAB_WIDTH: usize = 4;
fn indent_level_for_line(line: RopeSlice) -> usize {
let mut len = 0;