fix(vc): git-timemachine: enable font-lock-mode

This commit is contained in:
Henrik Lissner 2024-08-20 16:44:23 -04:00
parent abf19aa63e
commit d1e5a285fe
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -92,6 +92,10 @@ info in the `header-line-format' is a more visible indicator."
(propertize sha-or-subject 'face 'git-timemachine-minibuffer-detail-face)
date-full date-relative))))
;; HACK: `delay-mode-hooks' suppresses font-lock-mode in later versions of
;; Emacs, so git-timemachine buffers end up unfontified.
(add-hook 'git-timemachine-mode-hook #'font-lock-mode)
(after! evil
;; Rehash evil keybindings so they are recognized
(add-hook 'git-timemachine-mode-hook #'evil-normalize-keymaps))