Exploit new :defer input|buffer across various modules

This commit is contained in:
Henrik Lissner 2018-05-14 20:45:47 +02:00
parent 2712d606c2
commit a631c10d05
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 21 additions and 24 deletions

View file

@ -42,13 +42,16 @@ MODES should be one major-mode symbol or a list of them."
company-backends
'(company-capf company-dabbrev company-ispell company-yasnippet)
company-transformers '(company-sort-by-occurrence))
(when (featurep! +auto)
(require 'company)
(setq company-idle-delay 0.2))
:config
(global-company-mode +1))
(def-package! company
:when (featurep! +auto)
:defer input
:config (setq company-idle-delay 0.2))
(def-package! company-statistics
:hook (company-mode . company-statistics-mode)
:init (advice-add #'company-statistics-mode :around #'doom*shut-up)