Skip to content
Discussion options

You must be logged in to vote

Ah okay, I see. I think the reason is that Corfu explicitly sorts prefix completions earlier. Here you entered the prefix "fd" and "fd -h" takes precedence. See corfu--move-prefix-candidates-to-front:

https://github.com/minad/corfu/blob/cdc3e13ad312f5f12b3f78f842fff0b398eb4473/corfu.el#L588

You could override this function with an advice. But generally I find this behavior more aligned with expectations - but maybe not in the case of histories.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@minad
Comment options

Answer selected by ashlineldridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #122 on June 20, 2024 21:50.