Emacs: enable company-tabnine at startup
Alan Pearce alan@alanpearce.eu
Fri, 02 Aug 2019 16:57:48 +0200
1 files changed, 3 insertions(+), 2 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -359,12 +359,13 @@ (string-trim-right (shell-command-to-string "ghq list -p company-tabnine")))) (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