From 9f7c4ac3b19f09f0586c79ea557de0428ce7be0f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 2 Aug 2019 16:57:48 +0200 Subject: Emacs: enable company-tabnine at startup --- emacs/.emacs.d/main.el | 5 +++-- 1 file 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 ("" #'company-tabnine-call-other-backends "" #'company-tabnine-call-other-backends) - :config (progn - (add-to-list 'company-backends #'company-tabnine))) + :init (progn + (add-to-list 'company-backends #'company-tabnine))) ;;; Documentation -- cgit 1.4.1