diff options
-rw-r--r-- | emacs/.emacs.d/main.el | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 3e68008..80cf84e 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -204,7 +204,7 @@ With two prefix arguments, write out the day and month name." :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 @@ With two prefix arguments, write out the day and month name." (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 @@ With two prefix arguments, write out the day and month name." "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 |