commit 5c5737d6c323397d7f1be69d539bb521df743e54
parent 1857fcd244a0696a3fa650788d85f6fdf0197f57
Author: Thomas Vigouroux <thomas.vigouroux@protonmail.com>
Date: Fri, 17 Dec 2021 10:20:15 +0100
Use new-style completion sources
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua/completree-config.lua b/lua/completree-config.lua
@@ -39,7 +39,7 @@ local function md_complete(...)
end
local lsp_completion = {
- default = cc.pipeline(cc.optional(s.lsp_matches, s.luasnip_matches), ccomp.fzy, cf.amount(6)),
+ default = cc.pipeline(cc.optional(s.lsp_matches {}, s.luasnip_matches {}), ccomp.fzy, cf.amount(6)),
string = cdef.ins_completion "C-F",
comment = cdef.luasnip,
}