summary refs log tree commit diff
path: root/emacs.d/modules
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-05-10 08:41:40 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-05-10 08:41:40 -0700
commitcc2856d4cbebb962f89a0a76637949afeff00e27 (patch)
tree10feafbc048d1138a76addf4273bfeb2549394b3 /emacs.d/modules
parent[emacs] add racer for rust (diff)
downloademacs.d-cc2856d4cbebb962f89a0a76637949afeff00e27.tar.gz
[emacs] some minor tweask to autocomplete
Diffstat (limited to 'emacs.d/modules')
-rw-r--r--emacs.d/modules/module-autocomplete.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs.d/modules/module-autocomplete.el b/emacs.d/modules/module-autocomplete.el
index c0ae31b..ce15dbc 100644
--- a/emacs.d/modules/module-autocomplete.el
+++ b/emacs.d/modules/module-autocomplete.el
@@ -1,13 +1,13 @@
 (require 'config-package)
 
 (use-package company
-  :ensure t
   :commands company-mode
   :diminish company-mode
   :config
   (global-company-mode)
-  (setq company-global-modes '(not term-mode))
-  (setq company-idle-delay 0.3
+  (setq company-global-modes '(not term-mode)
+        company-idle-delay 0.3
+        company-minimum-prefix-length 3
         company-selection-wrap-around t
         company-show-numbers t
         company-tooltip-align-annotations t