commit 4af8fa42c6cd02cfe316cd5e6848017d3923db09
parent d29bc45ac04166a87af78712bcd142514a929432
Author: Thomas Vigouroux <thomas.vigouroux@protonmail.com>
Date: Wed, 17 Aug 2022 07:17:02 +0200
Use new tree-sitter source for teal files
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lua/completree-config.lua b/lua/completree-config.lua
@@ -50,6 +50,7 @@ local lsp_completion = {
comp.setup {
default = cdef.ins_completion "C-N",
vim = cdef.ins_completion "C-V",
+ teal = cc.pipeline(cc.optional(s.treesitter_matches {}, s.luasnip_matches {}), ccomp.fzy),
c = lsp_completion,
cpp = lsp_completion,
lua = lsp_completion,