diff options
author | Alan Pearce | 2019-11-29 15:35:55 +0100 |
---|---|---|
committer | Alan Pearce | 2019-11-29 15:35:55 +0100 |
commit | 81bdc806d609d084356c824f1659fa825a2fa5d2 (patch) | |
tree | 7f6ec41b19ef04699d9dc1ed4c0bb9cd74238cbc /user/emacs | |
parent | 49070269e914f9365766a2c2c1a889e11fbb2ee9 (diff) | |
download | nixfiles-81bdc806d609d084356c824f1659fa825a2fa5d2.tar.lz nixfiles-81bdc806d609d084356c824f1659fa825a2fa5d2.tar.zst nixfiles-81bdc806d609d084356c824f1659fa825a2fa5d2.zip |
Emacs: Enable company-lsp
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/.emacs.d/init.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el index 268682a1..42490ff6 100644 --- a/user/emacs/.emacs.d/init.el +++ b/user/emacs/.emacs.d/init.el @@ -472,6 +472,10 @@ _p_rev _u_pper _=_: upper/lower _r_esolve ;; (use-package all-the-icons) +(use-package company-lsp + :config (progn + (add-to-list 'company-backends #'company-lsp))) + (eval-when-compile (require 'subr-x)) (eval-and-compile (defun company-tabnine-load-path () @@ -479,7 +483,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (use-package company-tabnine :commands (company-tabnine) - :after (company) + :after (company-lsp) :load-path (lambda () (list (company-tabnine-load-path))) :custom ((company-tabnine-binaries-folder "~/.local/tabnine")) :general ("<M-tab>" #'company-tabnine-call-other-backends |