woop, stuff

This commit is contained in:
RingOfStorms (Joshua Bell) 2023-09-05 23:42:16 -05:00
parent de155cef6d
commit 39628e8f2f

View file

@ -234,7 +234,18 @@ return {
end, { "i", "s" }),
}),
sources = {
{ name = "copilot", priority = 8 },
{
name = "copilot",
priority = 8,
keyword_length = 1,
filter = function(keyword)
-- Check if keyword length is some number and not just whitespace
if #keyword < 2 or keyword:match("^%s*$") then
return false
end
return true
end,
},
{ name = "nvim_lsp", priority = 9 },
{ nane = "buffer", priority = 7 },
{ name = "luasnip", priority = 6 },