vsCodium: harmonizen defaults with zed
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-08-04 11:17:01 -04:00
parent 326c6c0db1
commit a79af705fe

View file

@ -11,6 +11,25 @@
enableUpdateCheck = false; enableUpdateCheck = false;
enableExtensionUpdateCheck = false; enableExtensionUpdateCheck = false;
keybindings = [
{
"key" = "alt+e";
"command" = "workbench.action.quickOpen";
}
{
"key" = "ctrl+p";
"command" = "-workbench.action.quickOpen";
}
{
"key" = "ctrl+p";
"command" = "workbench.action.showCommands";
}
{
"key" = "ctrl+shift+p";
"command" = "-workbench.action.showCommands";
}
];
userSettings = { userSettings = {
"diffEditor.ignoreTrimWhitespace" = false; "diffEditor.ignoreTrimWhitespace" = false;
"editor.fontFamily" = "'UbuntuSansMono Nerd Font', 'monospace', monospace"; "editor.fontFamily" = "'UbuntuSansMono Nerd Font', 'monospace', monospace";
@ -19,6 +38,8 @@
"editor.formatOnSave" = true; "editor.formatOnSave" = true;
"editor.formatOnType" = true; "editor.formatOnType" = true;
"editor.rulers" = [80]; "editor.rulers" = [80];
"editor.wordWrap" = "wordWrapColumn";
"editor.wordWrapColumn" = 80;
"explorer.confirmDelete" = false; "explorer.confirmDelete" = false;
"files.autoSave" = "afterDelay"; "files.autoSave" = "afterDelay";
"git.autofetch" = true; "git.autofetch" = true;
@ -27,9 +48,10 @@
"nix" = { "nix" = {
"enableLanguageServer" = true; "enableLanguageServer" = true;
"formatterPath" = lib.getExe pkgs.alejandra; "formatterPath" = lib.getExe pkgs.alejandra;
"serverPath" = lib.getExe pkgs.nil; "serverPath" = lib.getExe pkgs.nixd;
"serverSettings"."nil" = { "serverSettings" = {
"nil" = {
"diagnostics" = { "diagnostics" = {
"ignored" = ["unused_binding" "unused_with"]; "ignored" = ["unused_binding" "unused_with"];
}; };
@ -38,6 +60,13 @@
"command" = ["${lib.getExe pkgs.alejandra}"]; "command" = ["${lib.getExe pkgs.alejandra}"];
}; };
}; };
"nixd" = {
"formatting" = {
"command" = ["${lib.getExe pkgs.alejandra}"];
};
};
};
}; };
"[shellscript]" = { "[shellscript]" = {