company-tabnine
company-tabnine copied to clipboard
Company-tabnine can't be activated at all.
On Ubuntu 20.04, I use the following settings:
(use-package company
:config
(global-company-mode)
:custom
(company-dabbrev-downcase nil)
(company-idle-delay 0)
(company-minimum-prefix-length 1)
(company-tooltip-align-annotations t)
(company-dabbrev-other-buffers t) ; search buffers with the same major mode
(company-selection-wrap-around t)
:bind (:map company-active-map
("C-n" . company-select-next)
("C-p" . company-select-previous)
("C-s" . company-filter-candidates)
("<tab>" . company-complete-selection))
:bind (:map company-search-map
("C-n" . company-select-next)
("C-p" . company-select-previous))
)
;https://github.com/TommyX12/company-tabnine
;Run M-x company-tabnine-install-binary to install the TabNine binary for your system.
(use-package company-tabnine)
(add-to-list 'company-backends #'company-tabnine)
;; Trigger completion immediately.
(setq company-idle-delay 0)
;; Number the candidates (use M-1, M-2 etc to select completions).
(setq company-show-numbers t)
(use-package eglot
:hook
((TeX-mode . eglot-ensure))
:config
;https://github.com/joaotavora/eglot/issues/708#issuecomment-868616833
(add-to-list 'eglot-stay-out-of 'company)
;;; ensure texlab is set as the server.
(add-to-list 'eglot-server-programs
'((latex-mode tex-mode context-mode texinfo-mode bibtex-mode) . ("texlab"))))
But it seems that the company-tabnine
can't be activated at all. See the screenshot for more detailed info:
Any hints for this problem?
Regards, HY