Indent with tabs by default (#3095)
commitb05fcaadad6ba872fffeb7539b7b157d88c64781
authorMr. E <2804556+etienne-k@users.noreply.github.com>
dateFri 22 Jul 2022, 03:30 (4 years ago)
parentb6c700f
helix-view/src/document.rs+1−1
@@ -27,7 +27,7 @@ use crate::{DocumentId, Editor, ViewId};
2727/// 8kB of buffer space for encoding and decoding `Rope`s.
2828const BUF_SIZE: usize = 8192;
2929
30−const DEFAULT_INDENT: IndentStyle = IndentStyle::Spaces(4);
30+const DEFAULT_INDENT: IndentStyle = IndentStyle::Tabs;
3131
3232pub const SCRATCH_BUFFER_NAME: &str = "[scratch]";
3333