Comment Enter mapping for completion, for now at least

This commit is contained in:
2021-12-23 22:32:24 +03:00
parent 56cf8a926b
commit 3565ada10f

View File

@@ -43,10 +43,10 @@ cmp.setup({
behavior = cmp.SelectBehavior.Select behavior = cmp.SelectBehavior.Select
}), }),
["<C-space>"] = cmp.mapping.complete(), ["<C-space>"] = cmp.mapping.complete(),
["<CR>"] = cmp.mapping.confirm({ -- ["<CR>"] = cmp.mapping.confirm({
select = true, -- select = true,
behavior = cmp.SelectBehavior.Insert -- behavior = cmp.SelectBehavior.Insert
}), -- }),
["<TAB>"] = cmp.mapping.confirm({ ["<TAB>"] = cmp.mapping.confirm({
select = true, select = true,
behavior = cmp.SelectBehavior.Insert behavior = cmp.SelectBehavior.Insert