neovim: update cmp scroll_docs mapping

This commit is contained in:
2024-01-31 10:43:24 +03:00
parent 4008019c21
commit d98e3ede5f

View File

@@ -63,8 +63,8 @@ cmp.setup({
select = true, select = true,
behavior = cmp.SelectBehavior.Insert, behavior = cmp.SelectBehavior.Insert,
}), }),
["<A-j>"] = cmp.mapping.scroll_docs(4), ["<C-S-j>"] = cmp.mapping.scroll_docs(4),
["<A-k>"] = cmp.mapping.scroll_docs(-4), ["<C-S-k>"] = cmp.mapping.scroll_docs(-4),
["<C-f>"] = cmp.mapping(function(fallback) ["<C-f>"] = cmp.mapping(function(fallback)
if ls.expand_or_jumpable() then if ls.expand_or_jumpable() then
ls.expand_or_jump() ls.expand_or_jump()