Skip to content

Commit

Permalink
Configure delta
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Aug 21, 2023
1 parent 1291276 commit b18cbce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 0 additions & 8 deletions home/colours.nix
Original file line number Diff line number Diff line change
Expand Up @@ -638,13 +638,6 @@ let

is-light-theme = lib.elem config.me.theme [ "github-light" "solarized" "catppuccin-latte" ];

delta-theme = {
github-light = "GitHub";
solarized = "Solarized (light)";
catppuccin-latte = "GitHub";
nord = "Nord";
}.${config.me.theme} or "ansi";

bat-theme = {
github-light = "GitHub";
solarized = "Solarized (light)";
Expand Down Expand Up @@ -756,7 +749,6 @@ with lib;
color15 = current-theme.bright.white;
};

programs.git.delta.options.syntax-theme = delta-theme;
programs.vscode.userSettings = {
"workbench.colorTheme" = config.me.vscode-theme or ({ }.${config.me.theme} or "Monokai Pro");
};
Expand Down
4 changes: 4 additions & 0 deletions home/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@
};
delta = {
enable = true;
options = {
side-by-side = true;
diff-so-fancy = true;
};
};
includes = [
{
Expand Down

0 comments on commit b18cbce

Please sign in to comment.