all repos — nixfiles @ 38f8ec5f423ad82b4018869d5f9cdaf855f81cf2

System and user configuration, managed by nix and home-manager

Emacs: remove magit section highlighting

Alan Pearce
commit

38f8ec5f423ad82b4018869d5f9cdaf855f81cf2

parent

d1bb2935e009b1596eb70c224d7fcf5a56211914

1 file changed, 6 insertions(+), 1 deletion(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -281,7 +281,12 @@ (use-package magit
:commands (magit-status magit-dispatch) :custom ((global-magit-file-mode +1) (magit-section-visibility-indicator nil) - (magit-completing-read-function #'ivy-completing-read))) + (magit-diff-refine-hunk 'all) + (magit-completing-read-function #'ivy-completing-read)) + :config (progn + (remove-hook 'magit-section-highlight-hook 'magit-section-highlight) + (remove-hook 'magit-section-highlight-hook 'magit-section-highlight-selection) + (remove-hook 'magit-section-highlight-hook 'magit-diff-highlight))) (eval-when-compile (require 'fringe-helper)) (use-package git-gutter)