Only set display function for counsel-ag

counsel-rg and counsel-pt both identify themselves as counsel-ag, so
these extra specifications were unnecessary.
This commit is contained in:
Henrik Lissner 2018-08-15 20:39:42 +02:00
parent 40a900f533
commit 7d1246888b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -200,7 +200,7 @@ immediately runs it on the current candidate (ending the ivy session)."
(setf (alist-get t ivy-display-functions-alist) #'+ivy-display-at-frame-center-near-bottom)
;; posframe doesn't work well with async sources
(dolist (fn '(swiper counsel-rg counsel-ag counsel-pt counsel-grep counsel-git-grep))
(dolist (fn '(swiper counsel-ag counsel-grep counsel-git-grep))
(setf (alist-get fn ivy-display-functions-alist) #'ivy-display-function-fallback)))