diff options
author | Alan Pearce | 2023-06-05 16:48:51 +0200 |
---|---|---|
committer | Alan Pearce | 2023-06-05 16:48:51 +0200 |
commit | 967c16845b0170460bf898bc8998c4a61689a0f0 (patch) | |
tree | 516a1e23a3dd0c4c8d7c310844e156420c889f03 /user | |
parent | 2f40413e198ce4310389b72cdd6e36e1d4627851 (diff) | |
download | nixfiles-967c16845b0170460bf898bc8998c4a61689a0f0.tar.lz nixfiles-967c16845b0170460bf898bc8998c4a61689a0f0.tar.zst nixfiles-967c16845b0170460bf898bc8998c4a61689a0f0.zip |
Emacs: revert back to company-tabnine
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 9 | ||||
-rw-r--r-- | user/settings/emacs.nix | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 48c1930e..d7932e3c 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -542,13 +542,12 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (setq company-shell-clean-manpage t) (add-to-list 'company-backends '(company-shell company-shell-env)))) -(use-package tabnine-capf - :commands (tabnine-completion-at-point) +(use-package company-tabnine :after (company) - :config (setq tabnine-capf-binaries-folder "~/.local/tabnine") + :config (setq company-tabnine-binaries-folder "~/.local/tabnine") :init (progn - (advice-add 'tabnine-capf-start-process :around #'quiet) - (add-to-list 'company-backends #'tabnine-completion-at-point))) + (advice-add 'company-tabnine-start-process :around #'quiet) + (add-to-list 'company-backends #'company-tabnine))) ;;; Documentation diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 7791892e..89dedfa1 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -88,6 +88,7 @@ in company company-posframe company-shell + company-tabnine consult consult-eglot counsel @@ -145,7 +146,6 @@ in quickrun rainbow-mode rainbow-delimiters - tabnine-capf toml-mode tree-sitter tree-sitter-langs |