This commit is contained in:
Christian Nieves
2024-12-14 08:10:44 -06:00
parent afbe9737b7
commit 1fe1ca6c71
5 changed files with 23 additions and 178 deletions

View File

@ -36,8 +36,8 @@ return {
["<C-e>"] = { "hide", "fallback" },
["<CR>"] = { "accept", "fallback" },
["<Tab>"] = { "snippet_forward", "fallback" },
["<S-Tab>"] = { "snippet_backward", "fallback" },
["<Tab>"] = { "select_next", "snippet_forward", "accept", "fallback" },
["<S-Tab>"] = { "select_prev", "snippet_backward", "fallback" },
["<Up>"] = { "select_prev", "fallback" },
["<Down>"] = { "select_next", "fallback" },
@ -46,18 +46,18 @@ return {
["<S-Down>"] = { "scroll_documentation_down", "fallback" },
},
sources = {
providers = function()
default = function(ctx)
local providerToEnable = {
"lsp",
"path",
"crates",
"snippets",
"buffer",
"ripgrep",
"emoji",
"nerdfont",
"buffer",
}
print("sources")
print(vim.inspect(providerToEnable))
if use_google() then
table.insert(providerToEnable, "nvim_ciderlsp")
table.insert(providerToEnable, "buganizer")