From fb8e06a0b4989099cdb4bb8bb0b71a8a395cac62 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 28 Feb 2019 15:20:13 -0500 Subject: [PATCH] Prevent anzu from injecting itself into modeline --- doom-modeline-segments.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 431a897..ae95672 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -931,6 +931,7 @@ lines are selected, or the NxM dimensions of a block selection." (advice-add #'anzu--where-is-here :override #'doom-modeline-fix-anzu-count) +(setq anzu-cons-mode-line-p nil) ; manage modeline segment ourselves ;; Ensure anzu state is cleared when searches & iedit are done (with-eval-after-load 'anzu (add-hook 'isearch-mode-end-hook #'anzu--reset-status t) @@ -941,7 +942,6 @@ lines are selected, or the NxM dimensions of a block selection." "Show the match index and total number thereof. Requires `anzu', also `evil-anzu' if using `evil-mode' for compatibility with `evil-search'." - (setq anzu-cons-mode-line-p nil) (when (and (bound-and-true-p anzu--state) (not (bound-and-true-p iedit-mode))) (propertize