commit f95567c07db733fe95ba6f26a4b4e1c81ef6cf19
parent b56bf2747cba13ecf14032383bfabac9141bf48e
Author: Thomas Vigouroux <thomas.vigouroux@protonmail.com>
Date: Wed, 8 Dec 2021 18:50:20 +0100
feat(complementree): use new-style source api
Use combinators to do more fancy things
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua/completree-config.lua b/lua/completree-config.lua
@@ -35,7 +35,7 @@ local function md_complete(...)
end
local lsp_completion = {
- default = s.lsp,
+ default = s.preffix_guard(s.combine(s.luasnip_matches, s.lsp_matches)),
string = s.ins_completion "C-F",
comment = s.luasnip,
}