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

@@ -77,4 +77,4 @@ vim.o.showmode = false
-- vim.o.background = "light"
-- vim.o.background = "dark"
vim.g.codeium_enabled = true
vim.g.ai_cmp = true
vim.g.ai_cmp = false

View File

@@ -7,8 +7,11 @@ return {
enable_cmp_source = vim.g.ai_cmp,
virtual_text = {
enabled = not vim.g.ai_cmp,
virtual_text_priority = 65535,
map_keys = true,
key_bindings = {
accept = false, -- handled by nvim-cmp / blink.cmp
-- accept = false, -- handled by nvim-cmp / blink.cmp
accept = "<Tab>",
next = "<M-]>",
prev = "<M-[>",
},