emacs: fix calling non-tabnine backends
Alan Pearce alan@alanpearce.eu
Mon, 01 May 2023 17:35:01 +0200
1 files changed, 2 insertions(+), 3 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -496,6 +496,8 @@ "C-x C-f" #'company-files) (:keymaps 'company-active-map "TAB" #'company-complete-common-or-cycle "<tab>" #'company-complete-common-or-cycle + "<M-tab>" #'company-other-backend + "<C-tab>" #'company-other-backend "S-TAB" #'company-select-previous "<backtab>" #'company-select-previous)) @@ -519,9 +521,6 @@ (use-package tabnine-capf :commands (tabnine-completion-at-point) :after (company) :config (setq tabnine-capf-binaries-folder "~/.local/tabnine") - ;; use tabnine-capf-with-disabled - :general ("<M-tab>" #'tabnine-capf-call-other-backends - "<C-tab>" #'tabnine-capf-call-other-backends) :init (progn (advice-add 'tabnine-capf-start-process :around #'quiet) (add-to-list 'company-backends #'tabnine-completion-at-point)))