VSCode update formatting

This commit is contained in:
foglar 2024-11-05 15:37:06 +01:00
parent 7a9466d45b
commit 39cca340df
3 changed files with 38 additions and 33 deletions

View File

@ -63,6 +63,7 @@
builtins.elem (lib.getName pkg) [
"discord"
"spotify"
"steam"
"steam-unwrapped"

View File

@ -17,30 +17,33 @@
enable = true;
userSettings = {
"files.autoSave"= "afterDelay";
"files.autoSave" = "afterDelay";
"editor.fontSize" = 16;
"editor.minimap.side"= "right";
"editor.scrollbar.vertical"= "hidden";
"editor.scrollbar.verticalScrollbarSize"= 0;
"editor.fontLigatures"= "'calt', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'ss07', 'ss08', 'ss09', 'liga'";
"editor.stickyScroll.enabled"= false;
"security.workspace.trust.untrustedFiles"= "newWindow";
"security.workspace.trust.startupPrompt"= "never";
"security.workspace.trust.enabled"= false;
"terminal.external.linuxExec"= "kitty";
"terminal.integrated.stickyScroll.enabled"= true;
"telemetry.telemetryLevel"= "off";
"workbench.activityBar.location"= "hidden"; # bottom
"workbench.iconTheme"= "material-icon-theme";
"workbench.productIconTheme"= "material-product-icons";
"window.menuBarVisibility"= "toggle";
"github.copilot.editor.enableAutoCompletions"= false;
"nix.serverPath"= "nixd";
"nix.enableLanguageServer"= true;
"editor.minimap.side" = "right";
"editor.scrollbar.vertical" = "hidden";
"editor.scrollbar.verticalScrollbarSize" = 0;
"editor.fontLigatures" = "'calt', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'ss07', 'ss08', 'ss09', 'liga'";
"editor.stickyScroll.enabled" = false;
"security.workspace.trust.untrustedFiles" = "newWindow";
"security.workspace.trust.startupPrompt" = "never";
"security.workspace.trust.enabled" = false;
"terminal.external.linuxExec" = "kitty";
"terminal.integrated.stickyScroll.enabled" = true;
"telemetry.telemetryLevel" = "off";
"workbench.activityBar.location" = "hidden"; # bottom
"workbench.iconTheme" = "material-icon-theme";
"workbench.productIconTheme" = "material-product-icons";
"window.menuBarVisibility" = "toggle";
"github.copilot.editor.enableAutoCompletions" = false;
"[json]" = {
"editor.defaultFormatter" = "esbenp.prettier-vscode";
};
"nix.serverPath" = "nixd";
"nix.enableLanguageServer" = true;
"nix.serverSettings" = {
"nixd" = {
"formatting"= {
"command"= [ "alejandra" ]; # or nixfmt or nixpkgs-fmt
"formatting" = {
"command" = ["alejandra"]; # or nixfmt or nixpkgs-fmt
};
# "options": {
# "nixos": {

View File

@ -26,6 +26,7 @@
go
dotnet-sdk_8
jq
conda
];
};
}