Skip to content
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

counsel-company invokes ivy-read only if there are candidates #2937

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kisp
Copy link

@kisp kisp commented Nov 28, 2021

Hi, this is a small change to counsel-company that I think is generally useful.

In my use case, I am using counsel-company as a completion-at-point-function. With my proposed change, I am enjoying to see the message "No completion found" instead of being prompted by ivy with no candidates available.

I am setting it up like this:

(defun my--completion-at-point ()
  #'counsel-company)

(setq-local completion-at-point-functions '(my--completion-at-point t))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant