Change some defaults and the completion window looks
This commit is contained in:
@@ -16,6 +16,9 @@ cmp.setup({
|
||||
},
|
||||
|
||||
-- Add borders to the windows
|
||||
view = {
|
||||
entries = "custom",
|
||||
},
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
@@ -105,6 +108,9 @@ cmp.setup.cmdline({ "/", "?" }, {
|
||||
|
||||
-- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
|
||||
cmp.setup.cmdline(":", {
|
||||
view = {
|
||||
entries = { name = "wildmenu", separator = ":" },
|
||||
},
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = cmp.config.sources({
|
||||
{ name = "path" },
|
||||
|
||||
Reference in New Issue
Block a user