summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index f8f1b62d..80994fef 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -305,7 +305,6 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :defer 2
   :after evil)
 
-(defvar evil-collection-company-use-tng t)
 (use-package evil-collection
   :after (evil)
   :defer 3
@@ -315,7 +314,9 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (setq evil-collection-magit-use-y-for-yank nil)
             (general-unbind 'normal magit-mode-map
               "<escape>")
-            (evil-collection-init)))
+            (evil-collection-init)
+            (with-eval-after-load 'company
+              (company-tng-mode t))))
 
 (general-create-definer my-leader-def
   :keymaps 'override