This commit is contained in:
@@ -18,11 +18,17 @@ cmp.setup({
|
|||||||
|
|
||||||
-- Add borders to the windows
|
-- Add borders to the windows
|
||||||
view = {
|
view = {
|
||||||
entries = "custom",
|
entries = { name = "custom", selection_order = "near_cursor" },
|
||||||
},
|
},
|
||||||
window = {
|
window = {
|
||||||
completion = cmp.config.window.bordered(),
|
completion = cmp.config.window.bordered({
|
||||||
documentation = cmp.config.window.bordered(),
|
border = "rounded",
|
||||||
|
winhighlight = "Normal:CmpPmenu,FloatBorder:CmpBorder,CursorLine:CmpSel,Search:None",
|
||||||
|
}),
|
||||||
|
documentation = cmp.config.window.bordered({
|
||||||
|
border = "rounded",
|
||||||
|
winhighlight = "Normal:CmpDoc,FloatBorder:CmpBorderDoc,CursorLine:CmpSel,Search:None",
|
||||||
|
}),
|
||||||
},
|
},
|
||||||
|
|
||||||
-- experimental settings
|
-- experimental settings
|
||||||
|
|||||||
Reference in New Issue
Block a user