From bad2de65e2480fcdf94edcc6e47cdacea858e394 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Fri, 2 Apr 2021 15:51:49 -0400 Subject: [PATCH] Tweaking the delay for suggestions from company. --- emacs/+company.el | 8 ++++++++ emacs/config.el | 1 + 2 files changed, 9 insertions(+) create mode 100644 emacs/+company.el diff --git a/emacs/+company.el b/emacs/+company.el new file mode 100644 index 0000000..b88a2af --- /dev/null +++ b/emacs/+company.el @@ -0,0 +1,8 @@ +;;; +company.el -*- lexical-binding: t; -*- + +;; Make company a little faster to respond. +(after! company + (setq company-idle-delay 0.5 + company-minimum-prefix-length 2) + (setq company-show-numbers t) + (add-hook 'evil-normal-state-entry-hook #'company-abort)) ;; make aborting less annoying. diff --git a/emacs/config.el b/emacs/config.el index 08d0bf3..6523353 100644 --- a/emacs/config.el +++ b/emacs/config.el @@ -21,3 +21,4 @@ (load! "+mail") (load! "+org") +(load! "+company")