Skip to content

Commit

Permalink
[WIP] :affixation-function
Browse files Browse the repository at this point in the history
  • Loading branch information
basil-conto committed Jan 23, 2024
1 parent 28d4161 commit 573ca02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ivy.el
Original file line number Diff line number Diff line change
Expand Up @@ -4202,6 +4202,12 @@ CANDS is a list of candidates that :display-transformer can turn into strings."
(setq wnd-cands (mapcar transformer-fn wnd-cands)))))
(ivy--wnd-cands-to-str wnd-cands))))

;; TODO:
;; - `:affixation-function'
;; - `completion-metadata-get' now automatically consults
;; `completion-extra-properties'
;; - bug#68214 also announce `completion-metadata-get' changes

(defun ivy--wnd-cands-to-str (wnd-cands)
(let* ((metadata (unless (ivy-state-dynamic-collection ivy-last)
(completion-metadata "" minibuffer-completion-table
Expand Down

0 comments on commit 573ca02

Please sign in to comment.