added code formatters

This commit is contained in:
Kristian Krsnik 2023-08-03 21:38:04 +02:00
parent 589d88c6eb
commit 96c54c0e79

View File

@ -22,6 +22,13 @@
]; ];
userSettings = { userSettings = {
"window.menuBarVisibility" = "hidden"; "window.menuBarVisibility" = "hidden";
"[nix]" = {
"editor.formatOnSave" = true;
};
"[python]" = {
"editor.formatOnSave" = true;
};
"python.formatting.autopep8Path" = "${pkgs.python311Packages.autopep8}/bin/autopep8";
"nix.enableLanguageServer" = true; "nix.enableLanguageServer" = true;
"nix.serverPath" = "${pkgs.nil}/bin/nil"; "nix.serverPath" = "${pkgs.nil}/bin/nil";
"nix.serverSettings" = { "nix.serverSettings" = {