profile
viewpoint

Ask questions[QUESTION] something wrong with company-tabnine

@hlissner I try to intergrate company-tabnine into doom-emacs, the company doesn't auto popup as I type, I run M-x company-tabnine, the company popup shows. Please give me a hand, thank you.

config.el:

(defun add-company-tabnine ()
  (add-to-list (make-local-variable 'company-backends) 'company-tabnine))

(def-package! company-tabnine
  :config
  (add-hook! (c-mode
              c++-mode
              emacs-lisp-mode
              python-mode)
    #'add-company-tabnine))

package.el:

(when (featurep! :completion company)
  (package! company-tabnine))

init.el:

(def-package-hook! company
  :post-init
  (setq  company-idle-delay 0
         company-show-numbers t))
hlissner/doom-emacs

Answer questions CarlQLange

Ah, +lsp-company-backend was removed in https://github.com/hlissner/doom-emacs/commit/b3c957065c036ad677b21aafcea5f726c303d653 so no wonder it doesn't work.

useful!
source:https://uonfu.com/
Github User Rank List