From e1f16f2c71c89d13b200d5c7b328ab88e92dd225 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Tue, 10 Oct 2023 09:48:20 +0200 Subject: [PATCH] vscodium: disable automatic Nix formatting --- home/home.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/home.nix b/home/home.nix index 324c482..f33404e 100644 --- a/home/home.nix +++ b/home/home.nix @@ -350,6 +350,11 @@ in "[nix]" = { "editor.insertSpaces" = true; "editor.tabSize" = 2; + "editor.defaultFormatter" = "kamadorueda.alejandra"; + # for now, disable automatic formatting to prevent disruption of existing code bases + "editor.formatOnPaste" = false; + "editor.formatOnSave" = false; + "editor.formatOnType" = false; }; "editor.fontSize" = 13; "editor.fontWeight" = "normal";