Minor refactors & reformatting

This commit is contained in:
Henrik Lissner 2019-12-05 14:56:16 -05:00
parent 96e0ccab21
commit c13b8df5df
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 13 additions and 10 deletions

View file

@ -333,7 +333,9 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
(setf (alist-get t ivy-posframe-display-functions-alist)
#'+ivy-display-at-frame-center-near-bottom-fn)
;; posframe doesn't work well with async sources
;; posframe doesn't work well with async sources (the posframe will
;; occasionally stop responding/redrawing), and causes violent resizing of the
;; posframe.
(dolist (fn '(swiper counsel-rg counsel-grep counsel-git-grep))
(setf (alist-get fn ivy-posframe-display-functions-alist)
#'ivy-display-function-fallback)))