minad / cape

🦸cape.el - Completion At Point Extensions
GNU General Public License v3.0
573 stars 20 forks source link

Duplicates with cape-capf-super #103

Closed grolongo closed 5 months ago

grolongo commented 5 months ago

Hi minad,

Since 029d1a6, I'm getting duplicates for each candidate with yasnippet-capf.

It is only happening when I'm using cape-capf-super though, as in:

(defun my/cape-emacs-lisp ()
  (setq-local completion-at-point-functions
              (list (cape-capf-super
                     #'yasnippet-capf))))

(add-hook 'emacs-lisp-mode-hook 'my/cape-emacs-lisp)

Screenshot (531)

From your earlier commit messages, I read that duplicates should be handled by the completion UI. Does it mean I have to fix that through corfu or yasnippet-capf?

Thanks for the help.