summaryrefslogtreecommitdiff
path: root/modules/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/emacs')
-rw-r--r--modules/emacs/README.org2
-rw-r--r--modules/emacs/default.nix1
2 files changed, 3 insertions, 0 deletions
diff --git a/modules/emacs/README.org b/modules/emacs/README.org
index 29b44b6..3ed48b3 100644
--- a/modules/emacs/README.org
+++ b/modules/emacs/README.org
@@ -108,6 +108,8 @@ Configurations for magit
#+begin_src emacs-lisp :tangle yes
(use-package magit
:custom (magit-process-finish-apply-ansi-colors t))
+(use-package magit-delta
+ :hook (magit-mode . magit-delta-mode))
#+end_src
*** Forge
diff --git a/modules/emacs/default.nix b/modules/emacs/default.nix
index bdc9b19..bbf1ba2 100644
--- a/modules/emacs/default.nix
+++ b/modules/emacs/default.nix
@@ -4,6 +4,7 @@ let
nil
ripgrep
emacs-lsp-booster
+ delta
];
org-tangle-elisp-blocks = (pkgs.callPackage ./org.nix {inherit pkgs; inherit (inputs) from-elisp;}).org-tangle ({ language, flags } : let
is-elisp = (language == "emacs-lisp") || (language == "elisp");