VSCode update formatting
This commit is contained in:
parent
7a9466d45b
commit
39cca340df
@ -63,6 +63,7 @@
|
|||||||
builtins.elem (lib.getName pkg) [
|
builtins.elem (lib.getName pkg) [
|
||||||
"discord"
|
"discord"
|
||||||
"spotify"
|
"spotify"
|
||||||
|
|
||||||
"steam"
|
"steam"
|
||||||
"steam-unwrapped"
|
"steam-unwrapped"
|
||||||
|
|
||||||
|
|||||||
@ -17,41 +17,44 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"files.autoSave"= "afterDelay";
|
"files.autoSave" = "afterDelay";
|
||||||
"editor.fontSize" = 16;
|
"editor.fontSize" = 16;
|
||||||
"editor.minimap.side"= "right";
|
"editor.minimap.side" = "right";
|
||||||
"editor.scrollbar.vertical"= "hidden";
|
"editor.scrollbar.vertical" = "hidden";
|
||||||
"editor.scrollbar.verticalScrollbarSize"= 0;
|
"editor.scrollbar.verticalScrollbarSize" = 0;
|
||||||
"editor.fontLigatures"= "'calt', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'ss07', 'ss08', 'ss09', 'liga'";
|
"editor.fontLigatures" = "'calt', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'ss07', 'ss08', 'ss09', 'liga'";
|
||||||
"editor.stickyScroll.enabled"= false;
|
"editor.stickyScroll.enabled" = false;
|
||||||
"security.workspace.trust.untrustedFiles"= "newWindow";
|
"security.workspace.trust.untrustedFiles" = "newWindow";
|
||||||
"security.workspace.trust.startupPrompt"= "never";
|
"security.workspace.trust.startupPrompt" = "never";
|
||||||
"security.workspace.trust.enabled"= false;
|
"security.workspace.trust.enabled" = false;
|
||||||
"terminal.external.linuxExec"= "kitty";
|
"terminal.external.linuxExec" = "kitty";
|
||||||
"terminal.integrated.stickyScroll.enabled"= true;
|
"terminal.integrated.stickyScroll.enabled" = true;
|
||||||
"telemetry.telemetryLevel"= "off";
|
"telemetry.telemetryLevel" = "off";
|
||||||
"workbench.activityBar.location"= "hidden"; # bottom
|
"workbench.activityBar.location" = "hidden"; # bottom
|
||||||
"workbench.iconTheme"= "material-icon-theme";
|
"workbench.iconTheme" = "material-icon-theme";
|
||||||
"workbench.productIconTheme"= "material-product-icons";
|
"workbench.productIconTheme" = "material-product-icons";
|
||||||
"window.menuBarVisibility"= "toggle";
|
"window.menuBarVisibility" = "toggle";
|
||||||
"github.copilot.editor.enableAutoCompletions"= false;
|
"github.copilot.editor.enableAutoCompletions" = false;
|
||||||
"nix.serverPath"= "nixd";
|
"[json]" = {
|
||||||
"nix.enableLanguageServer"= true;
|
"editor.defaultFormatter" = "esbenp.prettier-vscode";
|
||||||
"nix.serverSettings" = {
|
};
|
||||||
"nixd" = {
|
"nix.serverPath" = "nixd";
|
||||||
"formatting"= {
|
"nix.enableLanguageServer" = true;
|
||||||
"command"= [ "alejandra" ]; # or nixfmt or nixpkgs-fmt
|
"nix.serverSettings" = {
|
||||||
};
|
"nixd" = {
|
||||||
# "options": {
|
"formatting" = {
|
||||||
# "nixos": {
|
"command" = ["alejandra"]; # or nixfmt or nixpkgs-fmt
|
||||||
# "expr": "(builtins.getFlake \"~/mysystem/").nixosConfigurations.laptop.options"
|
|
||||||
# },
|
|
||||||
# "home_manager": {
|
|
||||||
# "expr": "(builtins.getFlake \"/PATH/TO/FLAKE\").homeConfigurations..options"
|
|
||||||
# },
|
|
||||||
# },
|
|
||||||
};
|
};
|
||||||
|
# "options": {
|
||||||
|
# "nixos": {
|
||||||
|
# "expr": "(builtins.getFlake \"~/mysystem/").nixosConfigurations.laptop.options"
|
||||||
|
# },
|
||||||
|
# "home_manager": {
|
||||||
|
# "expr": "(builtins.getFlake \"/PATH/TO/FLAKE\").homeConfigurations..options"
|
||||||
|
# },
|
||||||
|
# },
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
extensions = with pkgs.vscode-extensions; [
|
extensions = with pkgs.vscode-extensions; [
|
||||||
|
|||||||
@ -26,6 +26,7 @@
|
|||||||
go
|
go
|
||||||
dotnet-sdk_8
|
dotnet-sdk_8
|
||||||
jq
|
jq
|
||||||
|
conda
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user