codex fix

This commit is contained in:
Yasien Mac Mini 2026-06-30 09:02:59 +02:00
parent ffd426471d
commit 0286a405dc
2 changed files with 22 additions and 6 deletions

View file

@ -114,7 +114,6 @@ return {
else
fallback()
end
fallback()
end,
}),
["<Tab>"] = cmp.mapping(function(fallback)
@ -126,11 +125,11 @@ return {
end, { "i", "s" }),
}),
sources = cmp.config.sources({
{ name = "nvim_lsp", keyword_length = 1 },
{ name = "luasnip", keyword_length = 1 },
{ name = "nvim_lsp", keyword_length = 2 },
{ name = "luasnip", keyword_length = 2 },
{
name = "buffer",
keyword_length = 2,
keyword_length = 3,
-- Limit indexing to only the active visible buffer to stop lag on Enter
option = {
get_bufnrs = function()