Merge pull request #2078 from AloisJanicek/fix-ivy-posframe-with-counsel-rg

ivy-posframe: ignore counsel-rg
This commit is contained in:
Henrik Lissner 2019-11-21 00:44:32 -05:00 committed by GitHub
commit 0111ad5781
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -333,7 +333,7 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
#'+ivy-display-at-frame-center-near-bottom-fn) #'+ivy-display-at-frame-center-near-bottom-fn)
;; posframe doesn't work well with async sources ;; posframe doesn't work well with async sources
(dolist (fn '(swiper counsel-ag counsel-grep counsel-git-grep)) (dolist (fn '(swiper counsel-rg counsel-grep counsel-git-grep))
(setf (alist-get fn ivy-posframe-display-functions-alist) (setf (alist-get fn ivy-posframe-display-functions-alist)
#'ivy-display-function-fallback))) #'ivy-display-function-fallback)))