summaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins/cmp.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config/nvim/lua/plugins/cmp.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/config/nvim/lua/plugins/cmp.lua b/config/nvim/lua/plugins/cmp.lua
index d113fd5..3ac698f 100644
--- a/config/nvim/lua/plugins/cmp.lua
+++ b/config/nvim/lua/plugins/cmp.lua
@@ -35,6 +35,9 @@ return {
opts = {
keymap = {
preset = "enter",
+ ["<Tab>"] = false,
+ ["<C-k>"] = { "snippet_forward", "fallback" },
+ ["<C-S-k>"] = { "snippet_backward", "fallback" },
},
completion = {
list = {
@@ -61,7 +64,12 @@ return {
signature = { enabled = true },
snippets = { preset = "luasnip" },
sources = {
- default = { "lsp", "path", "snippets", "buffer", "codecompanion" },
+ default = {
+ "lsp",
+ "path",
+ "snippets",
+ "buffer",
+ },
},
},
}