Exafunction / codeium.el

Free, ultrafast Copilot alternative for Emacs
https://www.codeium.com
MIT License
412 stars 13 forks source link

cape-capf-super seems not support codeium-completion-at-point? #97

Open zijianyue opened 3 months ago

zijianyue commented 3 months ago

I use codeium with corfu like this, but I don't get the expected integrated candidates(lsp candidates are not present).

(add-hook 'lsp-after-open-hook
          (lambda ()
            (setq-local completion-at-point-functions
                        (list 
                         (cape-capf-super
                          #'codeium-completion-at-point
                          #'lsp-completion-at-point)))))
image
polhuang commented 2 months ago

I had this issue as well. For me it was just easier to decouple codeium from the other capf's with cape, like so:

(defun my/codeium ()
  "Decouple codeium from other completions"
  (interactive)
  (cape-interactive #'codeium-completion-at-point))
stsquad commented 3 weeks ago

@polhuang so you need to trigger codium with a separate key?