From 38f8ec5f423ad82b4018869d5f9cdaf855f81cf2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 10 Jul 2019 18:40:12 +0200 Subject: Emacs: remove magit section highlighting --- emacs/.emacs.d/main.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d/main.el') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 2bfdb2d5..0b74fd66 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -281,7 +281,12 @@ With two prefix arguments, write out the day and month name." :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) -- cgit 1.4.1