From 9c548a60e3cc33ffb63d76cb857b68229f04787e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 12 Oct 2019 19:31:05 -0400 Subject: [PATCH] completion/ivy: load counsel earlier --- modules/completion/ivy/config.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/completion/ivy/config.el b/modules/completion/ivy/config.el index c763a76d1..48d2f8e41 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -56,6 +56,12 @@ immediately runs it on the current candidate (ending the ivy session)." ;; Ignore order for non-fuzzy searches by default (t . ivy--regex-ignore-order))) :config + ;; Counsel has a history of modifying ivy's variables in a way that is very + ;; difficult to predict. This makes changing its defaults (without changing + ;; any possible user customizations of those defaults) very difficult. It's + ;; easiest to load counsel immediately. + (require 'counsel nil t) + (setq ivy-height 15 ivy-wrap t ivy-fixed-height-minibuffer t