lem icon indicating copy to clipboard operation
lem copied to clipboard

Improve fuzzy completion

Open vindarel opened this issue 4 months ago • 1 comments

WIP

The fuzzy-match algorithm has good results (see tests, not yet ported, in https://github.com/vindarel/fuzzy-match),

  (lem/fuzzy-match:fuzzy-match "proj ws" (list of completion items) :key #'lem/completion-mode:completion-item-labe)
;; => "project-switch" item

the integration in Lem is not working properly, I have the visual glitch described in #1441

"proj sw" (with space) ->

Selection_325

I didn't find why yet, despite your indication.

vindarel avatar Aug 13 '25 08:08 vindarel

https://github.com/the-flx/cl-flx

Would it be simpler to use this, as it is pretty battle tested as algorithms go.

cianoc avatar Aug 14 '25 03:08 cianoc