From ed98f10190876557a0f0fd0d3c91f9745d34d911 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 25 Mar 2024 11:56:56 +0100 Subject: vim: Don't rustfmt without an explicit config This is getting annoying when contributing to external projects that don't have a rustfmt.toml, because I constantly forget to disable it for a buffer and then get a massive diff that I need to revert. My own projects all have a rustfmt.toml anyway, so there really is no reason to do it by default nor have a custom rustfmt config in Vuizvui. Signed-off-by: aszlig --- pkgs/aszlig/rustfmt/config.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 pkgs/aszlig/rustfmt/config.patch (limited to 'pkgs/aszlig/rustfmt/config.patch') diff --git a/pkgs/aszlig/rustfmt/config.patch b/pkgs/aszlig/rustfmt/config.patch deleted file mode 100644 index 6864b797..00000000 --- a/pkgs/aszlig/rustfmt/config.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/tools/rustfmt/src/config/mod.rs b/src/tools/rustfmt/src/config/mod.rs -index cd90e090..a6db6da1 100644 ---- a/src/tools/rustfmt/src/config/mod.rs -+++ b/src/tools/rustfmt/src/config/mod.rs -@@ -282,7 +282,7 @@ impl Config { - } - } - -- Ok(None) -+ Ok(Some(env!("DEFAULT_CONFIG_FILE").into())) - } - - match resolve_project_file(dir)? { -- cgit 1.4.1