diff options
-rw-r--r-- | user/emacs/init.el | 9 | ||||
-rw-r--r-- | user/settings/emacs.nix | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 48c1930e..d7932e3c 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -542,13 +542,12 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (setq company-shell-clean-manpage t) (add-to-list 'company-backends '(company-shell company-shell-env)))) -(use-package tabnine-capf - :commands (tabnine-completion-at-point) +(use-package company-tabnine :after (company) - :config (setq tabnine-capf-binaries-folder "~/.local/tabnine") + :config (setq company-tabnine-binaries-folder "~/.local/tabnine") :init (progn - (advice-add 'tabnine-capf-start-process :around #'quiet) - (add-to-list 'company-backends #'tabnine-completion-at-point))) + (advice-add 'company-tabnine-start-process :around #'quiet) + (add-to-list 'company-backends #'company-tabnine))) ;;; Documentation diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 7791892e..89dedfa1 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -88,6 +88,7 @@ in company company-posframe company-shell + company-tabnine consult consult-eglot counsel @@ -145,7 +146,6 @@ in quickrun rainbow-mode rainbow-delimiters - tabnine-capf toml-mode tree-sitter tree-sitter-langs |