From f5c58236421585d3eceb70f1b8033bda1f4b5937 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 00adaa1a71e7a..50c70af68dba7 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]";