diff options
author | Alan Pearce | 2019-07-10 18:40:12 +0200 |
---|---|---|
committer | Alan Pearce | 2019-07-10 18:40:12 +0200 |
commit | 38f8ec5f423ad82b4018869d5f9cdaf855f81cf2 (patch) | |
tree | c59e1c0383720ff339278f03854b94f1bcfb2199 /emacs/.emacs.d/main.el | |
parent | d1bb2935e009b1596eb70c224d7fcf5a56211914 (diff) | |
download | nixfiles-38f8ec5f423ad82b4018869d5f9cdaf855f81cf2.tar.lz nixfiles-38f8ec5f423ad82b4018869d5f9cdaf855f81cf2.tar.zst nixfiles-38f8ec5f423ad82b4018869d5f9cdaf855f81cf2.zip |
Emacs: remove magit section highlighting
Diffstat (limited to 'emacs/.emacs.d/main.el')
-rw-r--r-- | emacs/.emacs.d/main.el | 7 |
1 files changed, 6 insertions, 1 deletions
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) |