From 1439261d17c99d69db1e7d7cde15effc712c8c3b Mon Sep 17 00:00:00 2001 From: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Tue, 18 Mar 2025 20:01:23 +0000 Subject: [PATCH] chore: set `blame` to `false` by default --- helix-view/src/editor.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 7008be51..62000910 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -171,19 +171,13 @@ impl Default for GutterLineNumbersConfig { } } -#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, Default)] #[serde(rename_all = "kebab-case", default, deny_unknown_fields)] pub struct VersionControlConfig { /// Whether to enable git blame pub blame: bool, } -impl Default for VersionControlConfig { - fn default() -> Self { - Self { blame: true } - } -} - #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] #[serde(rename_all = "kebab-case", default, deny_unknown_fields)] pub struct FilePickerConfig {