-
Notifications
You must be signed in to change notification settings - Fork 272
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
Corfu: evil-repeat support #798
Conversation
753aecc
to
222d1ff
Compare
But it's declared before being used. weird. |
Yeah, that's odd. Any ideas? |
By the way, the Makefile doesn't actually work. It expects evil to be installed, but doesn't install it. Do you have instructions for running tests locally? That would allow me to iterate locally. |
Nevermind, I missed the |
222d1ff
to
f37fea8
Compare
There, that should work. The |
The two listed corfu PRs were not merged, how does this affect whether this PR should be merged? |
It's the reason that I'm putting the code here. The author would prefer a different technique to support evil-repeat, but I do not know of any additional techniques. In other words, it not being merged there is additional justification for it being merged here. I don't like having to patch one of corfu's methods, but there is no other option yet (aside from not supporting evil-repeat, of course). |
5fed634
to
e9c8ba8
Compare
@@ -89,7 +107,7 @@ This key theme variable may be refactored in the future so use with caution." | |||
;; https://github.com/minad/corfu#tab-and-go-completion | |||
(when (memq 'tab-n-go evil-collection-corfu-key-themes) | |||
(setq corfu-cycle t | |||
corfu-preselect-first nil) | |||
corfu-preselect 'prompt) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changed a bit ago, so corfu-preselect-first
didn't actually exist anymore.
e9c8ba8
to
03133d2
Compare
By the way, if there's any other way to do this, either by modifying evil-repeat or another way to make corfu compatible, I'd be interested. I started a thread on Emacs-devel, but haven't heard anything yet. |
Oops, this PR has conflict with the HEAD commit. I thought it's caused by merging #800 |
03133d2
to
2e8056b
Compare
@condy0919 updated |
Support for
evil-repeat
with Corfu.See:
minad/corfu#169
minad/corfu#225