on master help sign in
Indent with tabs by default (#3095)
b05fcaaMr. E
helix-view/src/document.rs+1−1
@@ -27,7 +27,7 @@ use crate::{DocumentId, Editor, ViewId};
27/// 8kB of buffer space for encoding and decoding `Rope`s.
27/// 8kB of buffer space for encoding and decoding `Rope`s.
28const BUF_SIZE: usize = 8192;
28const BUF_SIZE: usize = 8192;
29
29
30−const DEFAULT_INDENT: IndentStyle = IndentStyle::Spaces(4);
30+const DEFAULT_INDENT: IndentStyle = IndentStyle::Tabs;
31
31
32pub const SCRATCH_BUFFER_NAME: &str = "[scratch]";
32pub const SCRATCH_BUFFER_NAME: &str = "[scratch]";
33
33