aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMr. E2022-07-22 01:30:21 +0000
committerGitHub2022-07-22 01:30:21 +0000
commitb05fcaadad6ba872fffeb7539b7b157d88c64781 (patch)
treee2a66754cc7637cdfb8235667f8e8ccd00b56f43
parentb6c700fce9c13d883578f9cc5e81d624e9fbd9f8 (diff)
Indent with tabs by default (#3095)
-rw-r--r--helix-view/src/document.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index 00adaa1a..50c70af6 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -27,7 +27,7 @@ use crate::{DocumentId, Editor, ViewId};
/// 8kB of buffer space for encoding and decoding `Rope`s.
const BUF_SIZE: usize = 8192;
-const DEFAULT_INDENT: IndentStyle = IndentStyle::Spaces(4);
+const DEFAULT_INDENT: IndentStyle = IndentStyle::Tabs;
pub const SCRATCH_BUFFER_NAME: &str = "[scratch]";