From fd3b89854eb13ddb2c8ecc2da68a9cbb0dcdb836 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 7 Aug 2020 20:14:42 -0400 Subject: [PATCH] completion/company: minor refactor/reformatting --- modules/completion/company/config.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/completion/company/config.el b/modules/completion/company/config.el index 742bb6423..69f942c32 100644 --- a/modules/completion/company/config.el +++ b/modules/completion/company/config.el @@ -9,17 +9,18 @@ company-tooltip-limit 14 company-tooltip-align-annotations t company-require-match 'never - company-global-modes - '(not erc-mode message-mode help-mode gud-mode) + company-global-modes '(not erc-mode message-mode help-mode gud-mode) company-frontends '(company-pseudo-tooltip-frontend company-echo-metadata-frontend) ;; Buffer-local backends will be computed when loading a major mode, so ;; only specify a global default here. - company-backends '(company-capf) + company-backends '(company-capf) - ;; Company overrides `company-active-map' based on - ;; `company-auto-complete-chars'; no magic please! + ;; These auto-complete the current selection when + ;; `company-auto-complete-chars' is typed. This is too magical. We + ;; already have the much more explicit RET and TAB. + company-auto-complete nil company-auto-complete-chars nil ;; Only search the current buffer for `company-dabbrev' (a backend that