aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/indent.rs2
-rw-r--r--helix-core/src/lib.rs2
2 files changed, 2 insertions, 2 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;
diff --git a/helix-core/src/lib.rs b/helix-core/src/lib.rs
index ccdc7297..62d23a10 100644
--- a/helix-core/src/lib.rs
+++ b/helix-core/src/lib.rs
@@ -1,7 +1,7 @@
#![allow(unused)]
pub mod graphemes;
mod history;
-mod indent;
+pub mod indent;
pub mod macros;
mod position;
pub mod register;