all repos — nixfiles @ b98c2eb15be078c670b80d762b79c3223c2de428

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

Emacs: don't show recent tags in magit

Nothing I work on uses tags and it may cause performance issues
Alan Pearce alan@alanpearce.eu
Tue, 08 Dec 2020 20:40:02 +0100
commit

b98c2eb15be078c670b80d762b79c3223c2de428

parent

21da59d201abe84e61e2ba481a7fc40a24b0587f

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -443,6 +443,7 @@ (setq magit-auto-revert-mode nil magit-section-visibility-indicator nil                   magit-diff-refine-hunk 'all
                   magit-display-buffer-function #'display-buffer
                   magit-completing-read-function #'ivy-completing-read)
+            (remove-hook 'magit-status-sections-hook 'magit-insert-tags-header)
             (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)))