summary refs log tree commit diff stats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/main.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 8add90c..a67b371 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -359,12 +359,13 @@ With two prefix arguments, write out the day and month name."
 
 (use-package company-tabnine
   :commands (company-tabnine)
+  :after (company)
   :load-path (lambda () (list (company-tabnine-load-path)))
   :custom ((company-tabnine-binaries-folder "~/.TabNine"))
   :general ("<M-tab>" #'company-tabnine-call-other-backends
             "<C-tab>" #'company-tabnine-call-other-backends)
-  :config (progn
-            (add-to-list 'company-backends #'company-tabnine)))
+  :init (progn
+          (add-to-list 'company-backends #'company-tabnine)))
 
 ;;; Documentation