Exafunction / codeium.el

Free, ultrafast Copilot alternative for Emacs
https://www.codeium.com
MIT License
412 stars 13 forks source link

Corfu window hanging with "no match" #24

Closed dangom closed 1 year ago

dangom commented 1 year ago

I don't know if this is an issue that I should open at corfu, but at my end every now and then I get a popup with "no match" and have to manually "C-g" to make the suggestion window disappear. I wonder if there is a way to not have completions be triggered unless there are actually completions available?

fortenforge commented 1 year ago

I think the way it currently works we don't know whether there will be completions available at the time that we're triggered.

What is your corfu-quit-no-match set to?

dangom commented 1 year ago

It's set to 'separator.

fortenforge commented 1 year ago

Can you try changing it to t?

https://github.com/minad/corfu/blob/12b9712f546fc7b6229e56336bfa375fa3165406/corfu.el#L119

fortenforge commented 1 year ago

Closing this due to inactivity. Please feel free to reopen if you still need assistance.