config: nvim: use 'rounded' border for packer and nvim-cmp
This commit is contained in:
parent
2c72b7c8dd
commit
d7def752af
2 changed files with 7 additions and 1 deletions
|
|
@ -152,7 +152,9 @@ return require('packer').startup({
|
|||
end,
|
||||
config = {
|
||||
display = {
|
||||
open_fn = require("packer.util").float,
|
||||
open_fn = function()
|
||||
return require('packer.util').float({ border = 'rounded' })
|
||||
end,
|
||||
},
|
||||
profile = {
|
||||
enable = true,
|
||||
|
|
|
|||
|
|
@ -17,6 +17,10 @@ cmp.setup({
|
|||
return vim_item
|
||||
end,
|
||||
},
|
||||
window = {
|
||||
completion = cmp.config.window.bordered({ border = 'rounded' }),
|
||||
documentation = cmp.config.window.bordered({ border = 'rounded' }),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
['<C-b>'] = cmp.mapping.scroll_docs(-4),
|
||||
['<C-f>'] = cmp.mapping.scroll_docs(4),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue