[auto-completion] Don't install company-statistics unless necessary

This commit is contained in:
wangtianshu 2020-02-06 18:34:19 +08:00 committed by duianto
parent 7f92a4388d
commit 38a9f7c395
2 changed files with 2 additions and 2 deletions

View file

@ -1310,6 +1310,7 @@ Other:
- Use =counsel-company= to show completion candidates
(thanks to Kalle Lindqvist)
- Added =company-semantic= as a default company backend (thanks to bet4it)
- Don't install =company-statistics= unless necessary (thanks to Tianshu Wang)
- Fixes:
- Check if =dotspacemacs-directory-snippets-dir= exists before adding it
(thanks to Wojciech Wojtyniak)

View file

@ -18,7 +18,7 @@
(company-box :toggle auto-completion-use-company-box)
(all-the-icons :toggle auto-completion-use-company-box)
(company-quickhelp :toggle auto-completion-enable-help-tooltip)
company-statistics
(company-statistics :toggle auto-completion-enable-sort-by-usage)
counsel
fuzzy
(helm-company :requires helm)
@ -124,7 +124,6 @@
(defun auto-completion/init-company-statistics ()
(use-package company-statistics
:if auto-completion-enable-sort-by-usage
:defer t
:init
(progn