aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/lisp/init-misc.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el
index a0e26e2..e2ed462 100644
--- a/.emacs.d/lisp/init-misc.el
+++ b/.emacs.d/lisp/init-misc.el
@@ -80,7 +80,8 @@
'(emacs-lisp-mode go-mode ledger-mode sh-mode c++-mode))
:hook ((after-init . global-company-mode))
:config
- (setq company-minimum-prefix-length 1))
+ (setq company-minimum-prefix-length 1
+ company-idle-delay (lambda () (if (company-in-string-or-comment) nil 0.3))))
(use-package projectile
:init