added formatter options

This commit is contained in:
Kristian Krsnik 2023-08-04 14:55:22 +02:00
parent 3a7da2cc7a
commit 4c05f3f009

View File

@ -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;