diff --git a/home/vscode.nix b/home/vscode.nix index b53817b..78e72aa 100644 --- a/home/vscode.nix +++ b/home/vscode.nix @@ -24,12 +24,15 @@ "window.menuBarVisibility" = "hidden"; "[nix]" = { "editor.formatOnSave" = true; + "editor.formatOnSaveMode" = "file"; # modificationsIfAvailable does not work }; "[python]" = { "editor.formatOnSave" = true; + "editor.formatOnSaveMode" = "modificationsIfAvailable"; }; "[latex]" = { "editor.formatOnSave" = true; + "editor.formatOnSaveMode" = "file"; # modificationsIfAvailable does not work }; "python.formatting.autopep8Path" = "${pkgs.python311Packages.autopep8}/bin/autopep8"; "nix.enableLanguageServer" = true;