-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disconnect between swiper and ivy-read API #53
Comments
The current state is this one: (setq res (ivy-read
(replace-regexp-in-string
"%s" "pattern: " swiper--format-spec)
candidates
:initial-input initial-input
:keymap swiper-map
:preselect preselect
:require-match t
:update-fn #'swiper--update-input-ivy)) Make sure to remove the old |
A bit of digging shows that swipper packages it's own ivy but I also have an ivy package (I assume pulled in by something else) which is subtly different. Specifically this:
vs
|
@abo-abo ahh crossing comments - OK I'll do that. I wonder why package.el didn't do it automatically? |
I guess it doesn't have that option yet. |
I have both swiper and ivy loading from MELPA so they are both bleeding edge. However swiper failed to launch citing:
It looks like the call to ivy passed one too many arguments. I patched the function to do:
Basically I just dropped the nil in (ivy-read ...) and now it works.
The text was updated successfully, but these errors were encountered: