summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el9
1 files changed, 4 insertions, 5 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