From 77f78f0df3bb35b3cdb059402466269729c54d42 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 3 Aug 2021 22:45:59 -0400 Subject: [PATCH] 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 ba716d69f0f6 --- modules/tools/lsp/+lsp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tools/lsp/+lsp.el b/modules/tools/lsp/+lsp.el index b4468b816..d1a0b98ce 100644 --- a/modules/tools/lsp/+lsp.el +++ b/modules/tools/lsp/+lsp.el @@ -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.")