Fix doom-modeline
This commit is contained in:
parent
d7f196c141
commit
1dfef5ea8d
@ -62,9 +62,13 @@ enabled."
|
|||||||
(propertize str 'face 'doom-modeline-eyebrowse))
|
(propertize str 'face 'doom-modeline-eyebrowse))
|
||||||
""))
|
""))
|
||||||
|
|
||||||
(defun doom-modeline--active ()
|
;; Necessary to play nice with Helm
|
||||||
"Whether is an active window."
|
(add-hook 'helm-minibuffer-set-up-hook
|
||||||
t)
|
(lambda ()
|
||||||
|
(advice-add #'doom-modeline--active :override (lambda () t))))
|
||||||
|
(add-hook 'helm-cleanup-hook
|
||||||
|
(lambda ()
|
||||||
|
(advice-remove #'doom-modeline--active (lambda () t))))
|
||||||
|
|
||||||
;; Set the modeline
|
;; Set the modeline
|
||||||
(setq column-number-mode t)
|
(setq column-number-mode t)
|
||||||
|
Reference in New Issue
Block a user