Skip to content

Commit

Permalink
make default indent 4 spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Kl4rry committed Dec 19, 2024
1 parent 92f52e5 commit 95e621f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/ferrite-core/src/buffer.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use core::fmt;
use std::{
cmp, fs, io,
num::NonZeroUsize,
ops::Range,
path::{Path, PathBuf},
sync::OnceLock,
Expand Down Expand Up @@ -238,7 +237,7 @@ impl Default for Buffer {
file: None,
name: String::from("[scratch]"),
encoding: encoding_rs::UTF_8,
indent: Indentation::Tabs(NonZeroUsize::new(1).unwrap()),
indent: Indentation::default(),
dirty: false,
last_edit: Instant::now(),
read_only: false,
Expand Down

0 comments on commit 95e621f

Please sign in to comment.