formatting

This commit is contained in:
Kristian Krsnik 2023-09-04 23:56:05 +02:00
parent a53756452f
commit 42abc2a62e
No known key found for this signature in database
GPG Key ID: A618BA9FBDF8681C

View File

@ -28,24 +28,33 @@
userSettings = {
"git.enableCommitSigning" = true;
"window.menuBarVisibility" = "hidden";
"editor.fontFamily" = "'FiraCode Nerd Font'";
"editor.fontLigatures" = true;
"[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
};
"[toml]" = {
"editor.formatOnSave" = true;
"editor.modificationsIfAvailable" = "file";
};
"python.formatting.autopep8Path" = "${pkgs.python311Packages.autopep8}/bin/autopep8";
"nix.enableLanguageServer" = true;
"nix.serverPath" = "${pkgs.nil}/bin/nil";
"nix.serverSettings" = {
@ -53,7 +62,9 @@
formatting = {command = ["${pkgs.alejandra}/bin/alejandra"];};
};
};
"direnv.path.executable" = "${pkgs.direnv}/bin/direnv";
"latex-workshop.latex.outDir" = "%DIR%/out";
"terminal.integrated.profiles.linux" = {
@ -63,9 +74,6 @@
};
};
"terminal.integrated.defaultProfile.linux" = "bash";
"editor.fontFamily" = "'FiraCode Nerd Font'";
"editor.fontLigatures" = true;
};
};
}