From 213eb18e8b0691a594165dbf54e51b55195d36cd Mon Sep 17 00:00:00 2001 From: Gregor Grigorjan Date: Wed, 18 Sep 2024 07:49:37 +0000 Subject: [PATCH] feat(emacs): add `blamer-mode` --- modules/nixos/programs/emacs/init.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/nixos/programs/emacs/init.el b/modules/nixos/programs/emacs/init.el index 6c42d18..700ab6f 100644 --- a/modules/nixos/programs/emacs/init.el +++ b/modules/nixos/programs/emacs/init.el @@ -658,6 +658,16 @@ "g r" #'diff-hl-revert-hunk "g h" #'diff-hl-show-hunk)) +(use-package blamer + :custom + (blamer-idle-time 0.25) + (blamer-min-offset 60) + (blamer-max-commit-message-length 120) + :custom-face + (blamer-face ((t :background nil + :weight normal + :italic nil)))) + (use-package hl-todo :config (global-hl-todo-mode))