diff --git a/after/plugin/cmp.lua b/after/plugin/cmp.lua index 062839c..bc058c0 100644 --- a/after/plugin/cmp.lua +++ b/after/plugin/cmp.lua @@ -2,6 +2,13 @@ require("cmp_git").setup() local cmp = require("cmp") cmp.setup({ + mapping = { + [""] = cmp.mapping.select_prev_item(), + [""] = cmp.mapping.select_next_item(), + [""] = cmp.mapping.complete(), + [""] = cmp.mapping.close(), + [""] = cmp.mapping.confirm({ select = true }), + }, snippet = { expand = function(args) require("luasnip").lsp_expand(args.body)