diff --git a/modules/nixos/programs/emacs/init.el b/modules/nixos/programs/emacs/init.el index 69d538fb..f15d5fa2 100644 --- a/modules/nixos/programs/emacs/init.el +++ b/modules/nixos/programs/emacs/init.el @@ -454,29 +454,6 @@ "k" #'magit-section-backward-sibling "j" #'magit-section-forward-sibling)) -(use-package magit-delta - :hook (magit-mode . magit-delta-mode) - :init - (with-eval-after-load 'magit-delta - (set-face-attribute 'magit-diff-added-highlight nil :background "#006000") - (set-face-attribute 'magit-diff-added nil :background "#006000") - (set-face-attribute 'magit-diff-removed-highlight nil :background "#3f0001") - (set-face-attribute 'magit-diff-removed nil :background "#3f0001")) - - (add-hook 'magit-delta-mode-hook - (lambda () - (setq face-remapping-alist - (seq-difference face-remapping-alist - '((magit-diff-removed . default) - (magit-diff-removed-highlight . default) - (magit-diff-added . default) - (magit-diff-added-highlight . default)))))) - :custom - (magit-delta-default-dark-theme "Monokai Extended") - (magit-delta-delta-args '("--color-only" - "--minus-style" "syntax auto")) - (magit-delta-hide-plus-minus-markers nil)) - (use-package forge :after magit :custom