chore(nvim): add new cmp mapping

This commit is contained in:
Stefan Imhoff
2022-12-10 17:45:22 +01:00
parent 20b3a0648d
commit 164dde46e9

View File

@@ -70,6 +70,9 @@ cmp.setup({
["<CR>"] = cmp.mapping.confirm({ ["<CR>"] = cmp.mapping.confirm({
select = true, select = true,
}), }),
["<M-l>"] = cmp.mapping.confirm({
select = true,
}),
["<Tab>"] = cmp.mapping(function(fallback) ["<Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then if cmp.visible() then
cmp.select_next_item() cmp.select_next_item()