Ensure idempotence when setting company-transformers
This commit is contained in:
parent
ecd8ad0f46
commit
451f2d6301
1 changed files with 2 additions and 3 deletions
|
@ -32,9 +32,8 @@ MODES should be one major-mode symbol or a list of them."
|
|||
company-require-match 'never
|
||||
company-global-modes '(not eshell-mode comint-mode erc-mode message-mode help-mode)
|
||||
company-frontends '(company-pseudo-tooltip-frontend company-echo-metadata-frontend)
|
||||
company-backends '(company-capf))
|
||||
|
||||
(push #'company-sort-by-occurrence company-transformers)
|
||||
company-backends '(company-capf)
|
||||
company-transformers '(company-sort-by-occurrence))
|
||||
|
||||
(after! yasnippet
|
||||
(nconc company-backends '(company-yasnippet)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue