The current setup produces a bug when Compliment returns a list of candidates that matches flex style, but only one of the items on that list matches basic style. In that case, Emacs will eagerly complete that single candidate without presenting a list.
Example:
Unsa instantly completes to UnsatisfiedLinkError (because that's a class that is always imported to all namespaces).
This has been briefly discussed here https://github.com/clojure-emacs/cider/pull/3659#discussion_r1602166071 before making
basic
the prioritized one.The current setup produces a bug when Compliment returns a list of candidates that matches
flex
style, but only one of the items on that list matchesbasic
style. In that case, Emacs will eagerly complete that single candidate without presenting a list.Example:
Unsa
instantly completes toUnsatisfiedLinkError
(because that's a class that is always imported to all namespaces).Desired behavior: