From cb27a8e9e1e51b83d31c2a543a50da5dadb6e770 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 17 Jun 2019 23:05:31 +0200 Subject: Emacs: use company-tng --- emacs/.emacs.d/main.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'emacs/.emacs.d') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 16f29f6..7f06463 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -174,7 +174,6 @@ With two prefix arguments, write out the day and month name." (use-package evil :demand t :commands (evil-mode evil-delete-buffer evil-ex-define-cmd) - :after (undo-tree) :init (progn (defvar evil-want-integration) (defvar evil-want-keybinding) @@ -190,10 +189,11 @@ With two prefix arguments, write out the day and month name." ";" #'evil-ex)) (use-package evil-collection - :after evil + :after (evil) + :demand t :commands (evil-collection-init) - :custom ((evil-collection-company-use-tng nil)) - :config (evil-collection-init)) + :config (progn + (evil-collection-init))) (general-create-definer my-leader-def :keymaps 'override @@ -294,12 +294,12 @@ 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 .2) + (company-idle-delay .5) (company-begin-commands '(self-insert-command)) (company-auto-complete #'company-explicit-action-p) (company-auto-complete-chars '(?\ ?\( ?\) ?.))) :general (:states 'insert - "TAB" #'company-complete)) + "TAB" #'company-complete)) (use-package all-the-icons) (use-package company-box -- cgit 1.4.1