mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(editor/fussy): use built-in flx-rs score wrapper
The built-in wrapper is identical to my previous custom one.
This commit is contained in:
@@ -34,15 +34,7 @@
|
||||
:files (:defaults "bin"))
|
||||
|
||||
:custom
|
||||
(fussy-score-fn #'siren-flx-rs-score)
|
||||
|
||||
:preface
|
||||
(defun siren-flx-rs-score (str query &rest args)
|
||||
"Score STR for QUERY using `flx-rs-score'.
|
||||
|
||||
This will no longer be needed when used with fussy after this PR
|
||||
is merged: https://github.com/jojojames/fussy/pull/36"
|
||||
(flx-rs-score (funcall fussy-remove-bad-char-fn str) query args))
|
||||
(fussy-score-fn #'fussy-flx-rs-score)
|
||||
|
||||
:config
|
||||
(flx-rs-load-dyn))
|
||||
|
||||
Reference in New Issue
Block a user