chore(nvim): disable auto complete

main
sudo pacman -Syu 2023-07-11 18:26:49 +07:00
parent 9bc7bb44e1
commit a7af9c18e4
1 changed files with 1 additions and 4 deletions

View File

@ -188,10 +188,7 @@ require("lazy").setup({
}, },
mapping = cmp.mapping.preset.insert({ mapping = cmp.mapping.preset.insert({
["<C-Space>"] = cmp.mapping.complete(), ["<C-Space>"] = cmp.mapping.complete(),
["<CR>"] = cmp.mapping.confirm({ ["<CR>"] = cmp.mapping.confirm(),
behavior = cmp.ConfirmBehavior.Replace,
select = true,
}),
}), }),
sources = cmp.config.sources({ sources = cmp.config.sources({
{ name = "nvim_lsp" }, { name = "nvim_lsp" },