diff options
author | Case Duckworth | 2021-04-13 17:48:00 -0500 |
---|---|---|
committer | Case Duckworth | 2021-04-13 17:48:00 -0500 |
commit | 5b4b410036d4e8768c15dd46f9072b4206ce54ba (patch) | |
tree | 5d177d85a8b63bc800f8963a7f67821f38e5657e | |
parent | `org-return-dwim': work in nested lists (diff) | |
download | emacs-5b4b410036d4e8768c15dd46f9072b4206ce54ba.tar.gz emacs-5b4b410036d4e8768c15dd46f9072b4206ce54ba.zip |
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.
-rw-r--r-- | init.el | 5 |
1 files changed, 5 insertions, 0 deletions
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'." | |||
726 | (setup (:straight company) | 726 | (setup (:straight company) |
727 | (:hook-into prog-mode) | 727 | (:hook-into prog-mode) |
728 | (:hook company-tng-mode) | 728 | (:hook company-tng-mode) |
729 | |||
730 | (if (eq acdw/system :home) | ||
731 | (setq company-idle-delay 0.25) | ||
732 | (setq company-idle-delay nil)) | ||
733 | |||
729 | (:global "M-/" company-complete) | 734 | (:global "M-/" company-complete) |
730 | (:with-map company-active-map | 735 | (:with-map company-active-map |
731 | (:bind "C-n" company-select-next | 736 | (:bind "C-n" company-select-next |