why company won't work with yasnippet grouped completion? reddit / emacs ---------------------------------------------------------------------- OutsideNo1877 · 2022-09-27 03:27 \#+begin\_src emacs-lisp (use-package company :ensure t :custom (company-minimum-prefix-length 1) (company-idle-delay 0) (company-tooltip-align-annotations t) (company-tooltip-limit 20) (company-tooltip-minimum 5) (company-tooltip-flip-when-above t) (company-tooltip-margin 2) :config (defun my-prog-mode-hook() (setq-local company-backends '((company-dabbrev-code :with company-yasnippet)))) (add-hook 'prog-mode-hook #'my-prog-mode-hook) (global-company-mode)) \#+end\_src ​ I have spent so long and i can't figure out how to get multiple backends to work at the same time im trying to get snippet completion mostly and also want completion with eglot ---------------------------------------------------------------------- kiennq · 2022-09-27 04:37 eglot is using `capf` so you want something like this `(setq company- backends '((company-capf :with company-dabbrev company-yasnippet)))` ---------------------------------------------------------------------- OutsideNo1877 · 2022-09-27 11:56 I tried it and completions seem to work in el files not py files or .html for some reason but thank you for the help ---------------------------------------------------------------------- ckoneru · 2022-09-28 04:19 Try C-h v company-backend when you are in Python mode. Company- backend can differ mode to mode depending on your configuration and packages you use.