Skip to content

Commit

Permalink
Wipe cache upon using company+fussy
Browse files Browse the repository at this point in the history
  • Loading branch information
jojojames committed Dec 1, 2024
1 parent ceec1b6 commit cd2c93b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fussy.el
Original file line number Diff line number Diff line change
Expand Up @@ -1230,8 +1230,7 @@ This is to try to avoid a additional sort step."
(defun fussy-company-setup ()
"Set up `company' with `fussy'."
(with-eval-after-load 'company
(when (eq fussy-score-fn 'fussy-score)
(advice-add 'company-auto-begin :before 'fussy-wipe-cache))
(advice-add 'company-auto-begin :before 'fussy-wipe-cache)
(advice-add 'company--transform-candidates
:around 'fussy-company--transformer)
(advice-add 'company--fetch-candidates
Expand Down

0 comments on commit cd2c93b

Please sign in to comment.