added formatter options
This commit is contained in:
parent
3a7da2cc7a
commit
4c05f3f009
@ -24,12 +24,15 @@
|
|||||||
"window.menuBarVisibility" = "hidden";
|
"window.menuBarVisibility" = "hidden";
|
||||||
"[nix]" = {
|
"[nix]" = {
|
||||||
"editor.formatOnSave" = true;
|
"editor.formatOnSave" = true;
|
||||||
|
"editor.formatOnSaveMode" = "file"; # modificationsIfAvailable does not work
|
||||||
};
|
};
|
||||||
"[python]" = {
|
"[python]" = {
|
||||||
"editor.formatOnSave" = true;
|
"editor.formatOnSave" = true;
|
||||||
|
"editor.formatOnSaveMode" = "modificationsIfAvailable";
|
||||||
};
|
};
|
||||||
"[latex]" = {
|
"[latex]" = {
|
||||||
"editor.formatOnSave" = true;
|
"editor.formatOnSave" = true;
|
||||||
|
"editor.formatOnSaveMode" = "file"; # modificationsIfAvailable does not work
|
||||||
};
|
};
|
||||||
"python.formatting.autopep8Path" = "${pkgs.python311Packages.autopep8}/bin/autopep8";
|
"python.formatting.autopep8Path" = "${pkgs.python311Packages.autopep8}/bin/autopep8";
|
||||||
"nix.enableLanguageServer" = true;
|
"nix.enableLanguageServer" = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user