completion/company: refactor +auto implementation
This commit is contained in:
parent
c583a89a15
commit
6bdaf2afbb
1 changed files with 10 additions and 7 deletions
|
@ -34,16 +34,19 @@ MODES should be one major-mode symbol or a list of them."
|
|||
company-dabbrev-code-other-buffers t
|
||||
company-tooltip-align-annotations t
|
||||
company-require-match 'never
|
||||
company-global-modes '(not eshell-mode comint-mode erc-mode message-mode help-mode gud-mode)
|
||||
company-frontends '(company-pseudo-tooltip-frontend company-echo-metadata-frontend)
|
||||
company-backends '(company-capf company-dabbrev company-ispell company-yasnippet)
|
||||
company-global-modes
|
||||
'(not eshell-mode comint-mode erc-mode message-mode help-mode gud-mode)
|
||||
company-frontends
|
||||
'(company-pseudo-tooltip-unless-just-one-frontend
|
||||
company-echo-metadata-frontend)
|
||||
company-backends
|
||||
'(company-capf company-dabbrev company-ispell company-yasnippet)
|
||||
company-transformers '(company-sort-by-occurrence))
|
||||
:config
|
||||
(global-company-mode +1))
|
||||
|
||||
(when (featurep! +auto)
|
||||
(when (featurep! +auto)
|
||||
(require 'company)
|
||||
(setq company-idle-delay 0.2))
|
||||
:config
|
||||
(global-company-mode +1))
|
||||
|
||||
|
||||
(def-package! company-statistics
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue