Gavinok / emacs.d

nothing to see here 👀
87 stars 10 forks source link

Cape-yasnippet issue #2

Closed fleurc closed 2 months ago

fleurc commented 1 year ago

Today after coming across your video about completion, i decided to take a look at your config and copy paste the Completion section.

Tho it initially worked (after i fixed the Quelpa dependency) the auto complete of Corfu failed after Quelpa was installed. I tested everything and it seems the line breaks the config:

:config
  (defun yas-setup-capf ()
    (setq-local completion-at-point-functions
                (cons 'cape-yasnippet
                      completion-at-point-functions)))

Could you at some point explain why use cape-yasnippet? I have gone to its page and it seems to have nothing aside from a single file, not even an explanation on its utility.

Gavinok commented 2 months ago

I ended up dropping this. I was using it to allow corfu to display yasnippets. I no longer use this though and have switched to https://github.com/minad/tempel