Codeium配置。

This commit is contained in:
2026-01-19 10:24:34 +08:00
parent a92e95f655
commit 418843bfc9
3 changed files with 37 additions and 34 deletions

View File

@@ -1,23 +1,23 @@
return {
{
"saghen/blink.cmp",
opts = {
keymap = {
preset = "enter",
["<CR>"] = { "fallback" },
["<Tab>"] = {
function(cmp)
if cmp.snippet_active() then
return cmp.accept()
else
return cmp.select_and_accept()
end
end,
"snippet_forward",
"fallback",
{
"saghen/blink.cmp",
opts = {
keymap = {
preset = "enter",
["<CR>"] = { "fallback" },
["<Tab>"] = {
function(cmp)
if cmp.snippet_active() then
return cmp.accept()
else
return cmp.select_and_accept()
end
end,
"snippet_forward",
"fallback",
},
["<S-Tab>"] = { "snippet_backward", "fallback" },
},
},
["<S-Tab>"] = { "snippet_backward", "fallback" },
},
},
},
}