revert: Fix #5215: mix snippets with completion candidates

The sorting of these two backends are counter-intuitive in this
configuration, but I don't want to place the snippets in front of the
more meaningful capf results as suggested in #5215. A better solution is
needed, but for the time being this will do.

Fix #5262
Ref #5215
Revert ba716d69f0
This commit is contained in:
Henrik Lissner 2021-08-03 22:45:59 -04:00
parent ab7517c2d9
commit 77f78f0df3

View file

@ -2,7 +2,7 @@
(defvar +lsp-company-backends
(if (featurep! :editor snippets)
'(company-capf :with company-yasnippet)
'(:separate company-capf company-yasnippet)
'company-capf)
"The backends to prepend to `company-backends' in `lsp-mode' buffers.
Can be a list of backends; accepts any value `company-backends' accepts.")