From 419be69b9cae78df565e35c2fd6278d655abcd56 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sun, 27 Aug 2023 14:44:41 +0200 Subject: [PATCH] nix formatter in vscode, some more settings --- home.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index c8d92c6..d8ab06a 100644 --- a/home.nix +++ b/home.nix @@ -147,15 +147,23 @@ extensions = with pkgs; [ vscode-extensions.bbenoist.nix vscode-extensions.ms-python.python + vscode-extensions.kamadorueda.alejandra ]; userSettings = { "git.autofetch" = true; "update.mode" = "none"; "editor.fontFamily" = "'Fira Code', 'Droid Sans Mono', 'monospace', monospace"; "editor.fontLigatures" = true; - "redhat.telemetry.enabled" = false; + "editor.formatOnSave" = true; + "editor.formatOnSaveMode" = "modificationsIfAvailiable"; + "editor.minimap.autohide" = true; + "diffEditor.diffAlgorithm" = "advanced"; + "explorer.excludeGitIgnore" = true; "markdown.extension.tableFormatter.normalizeIndentation" = true; "markdown.extension.toc.orderedList" = false; + "telemetry.telemetryLevel" = "off"; + "redhat.telemetry.enabled" = false; + "workbench.enableExperiments" = false; }; };