diff --git a/home/vscode.nix b/home/vscode.nix index 8d968ae..ff77a16 100644 --- a/home/vscode.nix +++ b/home/vscode.nix @@ -22,6 +22,13 @@ ]; userSettings = { "window.menuBarVisibility" = "hidden"; + "[nix]" = { + "editor.formatOnSave" = true; + }; + "[python]" = { + "editor.formatOnSave" = true; + }; + "python.formatting.autopep8Path" = "${pkgs.python311Packages.autopep8}/bin/autopep8"; "nix.enableLanguageServer" = true; "nix.serverPath" = "${pkgs.nil}/bin/nil"; "nix.serverSettings" = {