refactor: abstracted out vscode config

This commit is contained in:
Nick 2024-11-20 16:07:09 -06:00
parent 1ae9601263
commit 18258dec54
5 changed files with 75 additions and 61 deletions

View file

@ -0,0 +1,23 @@
{
lib,
pkgs,
...
}: {
userSettings = {
"git.confirmSync" = false;
"editor.insertSpaces" = false;
"files.autoSave" = "afterDelay";
"git.enableSmartCommit" = true;
"nix.enableLanguageServer" = true;
"nix.serverPath" = lib.getExe pkgs.nil;
"nix.formatterPath" = lib.getExe pkgs.alejandra;
"window.menuBarVisibility" = "toggle";
"workbench.iconTheme" = "material-icon-theme";
"workbench.startupEditor" = "none";
"workbench.colorTheme" = "Catppuccin Mocha";
"workbench.statusBar.visible" = false;
"editor.multiCursorLimit" = 700000;
"elmLS.disableElmLSDiagnostics" = true;
"elmLS.elmReviewDiagnostics" = "warning";
};
}