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

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)))