company-capf = universal default company-backend

Also removes company-files from sly-mrepl-mode, because sly's capf
completion includes file completion.
This commit is contained in:
Henrik Lissner 2018-10-03 11:18:58 -04:00
parent bc16ef5431
commit b4b19c40bf
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 1 additions and 3 deletions

View file

@ -12,7 +12,7 @@
company-require-match 'never company-require-match 'never
company-global-modes company-global-modes
'(not erc-mode message-mode help-mode gud-mode eshell-mode) '(not erc-mode message-mode help-mode gud-mode eshell-mode)
company-backends nil company-backends '(company-capf)
company-frontends company-frontends
'(company-pseudo-tooltip-frontend '(company-pseudo-tooltip-frontend
company-echo-metadata-frontend)) company-echo-metadata-frontend))

View file

@ -16,8 +16,6 @@
(set-lookup-handlers! 'lisp-mode (set-lookup-handlers! 'lisp-mode
:definition #'sly-edit-definition :definition #'sly-edit-definition
:documentation #'sly-describe-symbol) :documentation #'sly-describe-symbol)
(set-company-backend! 'sly-mrepl-mode
'(company-capf :with company-files))
(after! smartparens (after! smartparens
(sp-with-modes '(sly-mrepl-mode) (sp-with-modes '(sly-mrepl-mode)