reddit / emacs

Use corfu completion instead of sly.

O10120240501 · 2022-12-12 16:43
I was thinking about rebinding the tab in lisp-mode to some corfu specific command but it seems corfu integrates with completion-at-point, and somehow it also calls the sly completion, so I end up with 2 popups for completion. Does anyone know how to set it up? Here is my corfu setup: ``` (use-package emacs :init (setq completion-cycle-threshold 3) (setq tab-always-indent 'complete)) (use-package corfu :custom (corfu-cycle t) :init (global-corfu-mode)) ``` I haven't changed anything in sly.
Vurpius · 2022-12-12 20:21
Try this: (setq-default sly-symbol-completion-mode nil)
O10120240501 · 2022-12-13 20:36
thanks it worked