feat: small tweak to nvim-cmp menu
This commit is contained in:
parent
9bcfb6db67
commit
eb0b2e9bcc
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@ return {
|
||||||
completion = {
|
completion = {
|
||||||
completeopt = "menu,menuone,noinsert",
|
completeopt = "menu,menuone,noinsert",
|
||||||
},
|
},
|
||||||
|
window = {
|
||||||
|
completion = cmp.config.window.bordered({
|
||||||
|
side_padding = 1,
|
||||||
|
scrollbar = false,
|
||||||
|
}),
|
||||||
|
},
|
||||||
mapping = cmp.mapping.preset.insert({
|
mapping = cmp.mapping.preset.insert({
|
||||||
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
||||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue