Skip to content

Commit

Permalink
Highlight collection when backspacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jojojames committed Dec 8, 2024
1 parent 773d5da commit 309614c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion fussy.el
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,14 @@ Implement `all-completions' interface with additional fuzzy / `flx' scoring."
;; (message "%s from hash with length %d"
;; string (length cached-all))
;; (fussy--print-hash-table fussy--all-cache)
(nconc cached-all (length prefix)))
(nconc (fussy--highlight-collection
(if (fussy--orderless-p)
(fussy--recreate-orderless-pattern
string table pred point)
(fussy--recreate-regex-pattern
beforepoint afterpoint bounds))
cached-all)
(length prefix)))
(pcase
(while-no-input
(pcase-let*
Expand Down

0 comments on commit 309614c

Please sign in to comment.