From 332e974b53d8053a7102f669141cdc054d3f20d5 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Thu, 14 Apr 2022 23:17:06 +0430 Subject: feat(cmp): documentation is deprecated in favor of window.documentation (#2461) --- lua/lvim/core/cmp.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lua/lvim/core') diff --git a/lua/lvim/core/cmp.lua b/lua/lvim/core/cmp.lua index 621e2b6d..8fb18c5f 100644 --- a/lua/lvim/core/cmp.lua +++ b/lua/lvim/core/cmp.lua @@ -232,8 +232,9 @@ M.config = function() require("luasnip").lsp_expand(args.body) end, }, - documentation = { - border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" }, + window = { + completion = cmp.config.window.bordered(), + documentation = cmp.config.window.bordered(), }, sources = { { name = "nvim_lsp" }, -- cgit v1.2.3