Fix doom-active-minor-modes
This commit is contained in:
parent
03e6900d3c
commit
44d30ca3ce
2 changed files with 6 additions and 2 deletions
|
@ -37,7 +37,7 @@ whose car is the list of faces and cadr is the list of overlay faces."
|
||||||
(defun doom-active-minor-modes ()
|
(defun doom-active-minor-modes ()
|
||||||
"Get a list of active minor-mode symbols."
|
"Get a list of active minor-mode symbols."
|
||||||
(cl-loop for mode in minor-mode-list
|
(cl-loop for mode in minor-mode-list
|
||||||
unless (and (boundp mode) (symbol-value mode))
|
if (and (boundp mode) (symbol-value mode))
|
||||||
collect mode))
|
collect mode))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
|
@ -42,7 +42,11 @@
|
||||||
(push (list fn :cleanup 'ivy-posframe-cleanup) ivy-display-functions-props))
|
(push (list fn :cleanup 'ivy-posframe-cleanup) ivy-display-functions-props))
|
||||||
|
|
||||||
(push '(t . +posframe-ivy-display-at-frame-center-near-bottom) ivy-display-functions-alist)
|
(push '(t . +posframe-ivy-display-at-frame-center-near-bottom) ivy-display-functions-alist)
|
||||||
(push '(swiper . nil) ivy-display-functions-alist)
|
|
||||||
|
;; posframe doesn't work well with async sources
|
||||||
|
(dolist (fn '(swiper counsel-rg counsel-ag counsel-pt counsel-grep counsel-git-grep))
|
||||||
|
(push (cons fn nil) ivy-display-functions-alist))
|
||||||
|
|
||||||
(ivy-posframe-enable)
|
(ivy-posframe-enable)
|
||||||
|
|
||||||
(setq ivy-height 16
|
(setq ivy-height 16
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue