From b05fcaadad6ba872fffeb7539b7b157d88c64781 Mon Sep 17 00:00:00 2001 From: Mr. E Date: Fri, 22 Jul 2022 03:30:21 +0200 Subject: Indent with tabs by default (#3095) --- helix-view/src/document.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-view') 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]"; -- cgit v1.2.3-70-g09d2