From b05fcaadad6ba872fffeb7539b7b157d88c64781 Mon Sep 17 00:00:00 2001 From: "Mr. E" <2804556+etienne-k@users.noreply.github.com> Date: Fri, 22 Jul 2022 03:30:21 +0200 Subject: [PATCH] Indent with tabs by default (#3095) --- helix-view/src/document.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index 00adaa1a7..50c70af68 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]";