From b795a7e3f366fce9f9ec412189e2de3d1c872190 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 19 Sep 2019 17:17:46 -0700 Subject: [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. --- emacs.d/custom/fcuny-company.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs.d/custom') 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) -- cgit 1.4.1