From 5b4b410036d4e8768c15dd46f9072b4206ce54ba Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 13 Apr 2021 17:48:00 -0500 Subject: Don't automatically show company at work company seems to be very slow on Windows. Until I can better diagnose the slowdown, I'm just disabling `company-idle-delay' at work. --- init.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 2397eee..a46c475 100644 --- a/init.el +++ b/init.el @@ -726,6 +726,11 @@ if ripgrep is installed, otherwise `consult-grep'." (setup (:straight company) (:hook-into prog-mode) (:hook company-tng-mode) + + (if (eq acdw/system :home) + (setq company-idle-delay 0.25) + (setq company-idle-delay nil)) + (:global "M-/" company-complete) (:with-map company-active-map (:bind "C-n" company-select-next -- cgit 1.4.1-21-gabe81