home: {modify,format}"vscode configuration"

This commit is contained in:
Guanran Wang 2023-10-05 18:07:22 +08:00
parent d69188d887
commit a8ad66dcd8
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -150,29 +150,31 @@
enableExtensionUpdateCheck = false; enableExtensionUpdateCheck = false;
enableUpdateCheck = false; enableUpdateCheck = false;
userSettings = { userSettings = {
"diffEditor.ignoreTrimWhitespace" = false;
"editor.cursorSmoothCaretAnimation" = "on"; "editor.cursorSmoothCaretAnimation" = "on";
"editor.cursorBlinking" = "smooth"; "editor.cursorBlinking" = "smooth";
"editor.fontFamily" = lib.mkDefault "Monospace"; "editor.fontFamily" = lib.mkDefault "Monospace";
"editor.fontWeight" = "SemiBold"; "editor.fontWeight" = "600";
"editor.tabSize" = 2; "editor.tabSize" = 2;
"explorer.confirmDragAndDrop" = false; "explorer.confirmDragAndDrop" = false;
"explorer.confirmDelete" = false; "explorer.confirmDelete" = false;
"files.autoSave" = "onFocusChange"; "files.autoSave" = "onFocusChange";
"files.trimTrailingWhitespace" = true;
"files.trimFinalNewlines" = true;
"security.workspace.trust.enabled" = false; "security.workspace.trust.enabled" = false;
"telemetry.telemetryLevel" = "off";
"terminal.external.osxExec" = "Alacritty.app";
"terminal.integrated.cursorBlinking" = true; "terminal.integrated.cursorBlinking" = true;
"update.mode" = "none"; "update.mode" = "none";
"window.menuBarVisibility" = "toggle"; "window.menuBarVisibility" = "toggle";
"workbench.colorTheme" = "Tokyo Night"; "workbench.colorTheme" = "Tokyo Night";
"telemetry.telemetryLevel" = "off";
#"telemetry.enableCrashReporter"
#"telemetry.enableTelemetry"
"terminal.external.osxExec" = "Alacritty.app";
#"editor.renderWhitespace" = "all";
# extensions # Extensions
### Nix IDE
"nix.enableLanguageServer" = true; "nix.enableLanguageServer" = true;
#"nix.serverPath" = "nixd"; #"nix.serverPath" = "nixd";
"nix.serverPath" = "nil"; "nix.serverPath" = "nil";
### GitLens
"gitlens.telemetry.enabled" = false; "gitlens.telemetry.enabled" = false;
}; };
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [