woop, stuff
This commit is contained in:
parent
de155cef6d
commit
39628e8f2f
1 changed files with 256 additions and 245 deletions
|
@ -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 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue