diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/user/core/cmp.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lua/user/core/cmp.lua b/lua/user/core/cmp.lua index 2266fbc..3a7a88f 100644 --- a/lua/user/core/cmp.lua +++ b/lua/user/core/cmp.lua @@ -68,7 +68,7 @@ cmp.setup { }, -- Accept currently selected item. If none selected, `select` first item. -- Set `select` to `false` to only confirm explicitly selected items. - ["<CR>"] = cmp.mapping.confirm { select = true }, + ["<CR>"] = cmp.mapping.confirm { select = false }, ["<Tab>"] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_next_item() @@ -125,7 +125,9 @@ cmp.setup { select = false, }, window = { - documentation = "native", + documentation = { + border = {'╭', '─', '╮', '│', '╯', '─', '╰', '│'}, + }, }, experimental = { ghost_text = true, -- grey autosuggestion |