Emacs: use company-tng
Alan Pearce alan@alanpearce.eu
Mon, 17 Jun 2019 23:05:31 +0200
1 files changed, 6 insertions(+), 6 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -174,7 +174,6 @@ (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 @@ (:states 'normal ";" #'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 @@ (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