aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2025-07-07 11:28:47 -0700
committerGravatar Tom Willemse2025-07-07 11:28:47 -0700
commite562026ba61da58d994ede4662b9f2d0319cc684 (patch)
treedf0a64855718b0795c7fba3cc1233b750300f906
parent2205f24f21e855c20a16908eb8350a9fc6565588 (diff)
downloademacs-config-e562026ba61da58d994ede4662b9f2d0319cc684.tar.gz
emacs-config-e562026ba61da58d994ede4662b9f2d0319cc684.zip
oni-magit: Highlight current line when magit-blame-mode is enabled
-rw-r--r--oni-magit.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/oni-magit.el b/oni-magit.el
index fee0e68..97cc1af 100644
--- a/oni-magit.el
+++ b/oni-magit.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2022.1213.070733
+;; Version: 2025.0627.153316
;; Package-Requires: (magit magit-popup oni-hydra)
;; This program is free software; you can redistribute it and/or modify
@@ -56,6 +56,8 @@ _i_: Init
'display-buffer-alist
`(,oni:magit-status-rx oni-magit-display-buffer-in-only-window))
+(add-hook 'magit-blame-mode-hook 'pulse-momentary-highlight-one-line)
+
(when (eq system-type 'windows-nt)
(setq magit-git-executable "c:/msys64/usr/bin/git.exe"))