summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-06-05 16:48:51 +0200
committerAlan Pearce2023-06-05 16:48:51 +0200
commit967c16845b0170460bf898bc8998c4a61689a0f0 (patch)
tree516a1e23a3dd0c4c8d7c310844e156420c889f03 /user/emacs
parent2f40413e198ce4310389b72cdd6e36e1d4627851 (diff)
downloadnixfiles-967c16845b0170460bf898bc8998c4a61689a0f0.tar.lz
nixfiles-967c16845b0170460bf898bc8998c4a61689a0f0.tar.zst
nixfiles-967c16845b0170460bf898bc8998c4a61689a0f0.zip
Emacs: revert back to company-tabnine
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