all repos — nixfiles @ 7e97b47c93b6f170cc5aa714eb2d49b2a76be899

System and user configuration, managed by nix and home-manager

Emacs: update company setup - Use TNG (incompatible with company-box)[0] - Setup company-tabnine - Use recommended company-tabnine configuration [0]: https://github.com/sebastiencs/company-box/issues/47

Alan Pearce
commit

7e97b47c93b6f170cc5aa714eb2d49b2a76be899

parent

3103f43870964170d328afec95d1914ed982764c

1 file changed, 7 insertions(+), 6 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -204,7 +204,7 @@ (use-package evil-collection
:after (evil) :demand t :commands (evil-collection-init) - :custom ((evil-collection-company-use-tng nil)) + :custom ((evil-collection-company-use-tng t)) :config (progn (evil-collection-init)))
@@ -309,7 +309,8 @@
(use-package company :commands (company-explicit-action-p) :custom ((global-company-mode +1) - (company-idle-delay .5) + (company-idle-delay 0) + (company-show-numbers t) (company-begin-commands '(self-insert-command)) (company-auto-complete #'company-explicit-action-p) (company-auto-complete-chars '(?\ ?\( ?\) ?.)))
@@ -317,10 +318,10 @@ :general (:states 'insert
"TAB" #'company-complete)) (use-package all-the-icons) -(use-package company-box - :custom ((company-box-enable-icon nil) - (company-dabbrev-downcase nil)) - :ghook 'company-mode-hook) + +(use-package company-tabnine + :config (progn + (add-to-list 'company-backends #'company-tabnine))) ;;; Documentation