summary refs log tree commit diff
path: root/emacs.d/custom
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-09-19 17:17:46 -0700
committerFranck Cuny <fcuny@twitter.com>2019-09-19 17:17:46 -0700
commitb795a7e3f366fce9f9ec412189e2de3d1c872190 (patch)
treeb4f8695337a6a8968b809f6d1b8571372cbc9290 /emacs.d/custom
parent[org] bigger font for title / headlines (diff)
downloademacs.d-b795a7e3f366fce9f9ec412189e2de3d1c872190.tar.gz
[emacs] drop dabbrev from company's backend
this is super annoying, it tries to complete strings in comments,
which is not what i need, i only care about completion for the code.
Diffstat (limited to 'emacs.d/custom')
-rw-r--r--emacs.d/custom/fcuny-company.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs.d/custom/fcuny-company.el b/emacs.d/custom/fcuny-company.el
index a58a15e..69b6203 100644
--- a/emacs.d/custom/fcuny-company.el
+++ b/emacs.d/custom/fcuny-company.el
@@ -3,9 +3,10 @@
   :diminish company-mode
 
   :custom
+  (company-backends (delete 'company-dabbrev company-backends))
   (company-minimum-prefix-length 2)
   (company-tooltip-align-annotations t)
   (company-tooltip-limit 12)
-  (company-idle-delay 0))
+  (company-idle-delay 1))
 
 (provide 'fcuny-company)