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;
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 = {
"diffEditor.ignoreTrimWhitespace" = false;
"editor.fontFamily" = "'UbuntuSansMono Nerd Font', 'monospace', monospace";
@ -19,6 +38,8 @@
"editor.formatOnSave" = true;
"editor.formatOnType" = true;
"editor.rulers" = [80];
"editor.wordWrap" = "wordWrapColumn";
"editor.wordWrapColumn" = 80;
"explorer.confirmDelete" = false;
"files.autoSave" = "afterDelay";
"git.autofetch" = true;
@ -27,15 +48,23 @@
"nix" = {
"enableLanguageServer" = true;
"formatterPath" = lib.getExe pkgs.alejandra;
"serverPath" = lib.getExe pkgs.nil;
"serverPath" = lib.getExe pkgs.nixd;
"serverSettings"."nil" = {
"diagnostics" = {
"ignored" = ["unused_binding" "unused_with"];
"serverSettings" = {
"nil" = {
"diagnostics" = {
"ignored" = ["unused_binding" "unused_with"];
};
"formatting" = {
"command" = ["${lib.getExe pkgs.alejandra}"];
};
};
"formatting" = {
"command" = ["${lib.getExe pkgs.alejandra}"];
"nixd" = {
"formatting" = {
"command" = ["${lib.getExe pkgs.alejandra}"];
};
};
};
};