Emacs: run local checkout of company-tabnine
Alan Pearce alan@alanpearce.eu
Wed, 24 Jul 2019 17:00:36 +0200
1 files changed, 6 insertions(+), 0 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -352,8 +352,14 @@ "TAB" #'company-complete)) (use-package all-the-icons) +(eval-and-compile + (defun company-tabnine-load-path () + (s-trim-right (shell-command-to-string "ghq list -p company-tabnine")))) + (use-package company-tabnine :commands (company-tabnine) + :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