mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-30 11:09:55 +00:00
Fix: remove anzu default mode-line.
This commit is contained in:
parent
c48459b7c8
commit
176307f66c
1 changed files with 1 additions and 6 deletions
|
@ -325,12 +325,6 @@ If STRICT-P, return nil if no project was found, otherwise return
|
||||||
;; anzu and evil-anzu expose current/total state that can be displayed in the
|
;; anzu and evil-anzu expose current/total state that can be displayed in the
|
||||||
;; mode-line.
|
;; mode-line.
|
||||||
(when (featurep 'anzu)
|
(when (featurep 'anzu)
|
||||||
(add-hook 'anzu-mode-hook
|
|
||||||
(lambda ()
|
|
||||||
(setq anzu-cons-mode-line-p nil
|
|
||||||
anzu-minimum-input-length 1
|
|
||||||
anzu-search-threshold 250)))
|
|
||||||
|
|
||||||
(defun doom-modeline-fix-anzu-count (positions here)
|
(defun doom-modeline-fix-anzu-count (positions here)
|
||||||
(cl-loop for (start . end) in positions
|
(cl-loop for (start . end) in positions
|
||||||
collect t into before
|
collect t into before
|
||||||
|
@ -809,6 +803,7 @@ lines are selected, or the NxM dimensions of a block selection."
|
||||||
|
|
||||||
Requires `anzu', also `evil-anzu' if using `evil-mode' for compatibility with
|
Requires `anzu', also `evil-anzu' if using `evil-mode' for compatibility with
|
||||||
`evil-search'."
|
`evil-search'."
|
||||||
|
(setq anzu-cons-mode-line-p nil)
|
||||||
(when (and (bound-and-true-p anzu--state)
|
(when (and (bound-and-true-p anzu--state)
|
||||||
(not (bound-and-true-p iedit-mode)))
|
(not (bound-and-true-p iedit-mode)))
|
||||||
(propertize
|
(propertize
|
||||||
|
|
Loading…
Reference in a new issue