diff options
author | Alan Pearce | 2019-08-02 16:57:48 +0200 |
---|---|---|
committer | Alan Pearce | 2019-08-02 16:57:48 +0200 |
commit | 9f7c4ac3b19f09f0586c79ea557de0428ce7be0f (patch) | |
tree | 1a5c0b4f9bd58f917f2c4e0fe18d06c160132d0d | |
parent | 8d22f6ac9b62f0c8793b6e63a5633c0f05f743fc (diff) | |
download | dotfiles-9f7c4ac3b19f09f0586c79ea557de0428ce7be0f.tar.lz dotfiles-9f7c4ac3b19f09f0586c79ea557de0428ce7be0f.tar.zst dotfiles-9f7c4ac3b19f09f0586c79ea557de0428ce7be0f.zip |
Emacs: enable company-tabnine at startup
-rw-r--r-- | emacs/.emacs.d/main.el | 5 |
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 |