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 +++-- snapshots/default.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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" }, diff --git a/snapshots/default.json b/snapshots/default.json index 99584487..eb242de0 100644 --- a/snapshots/default.json +++ b/snapshots/default.json @@ -51,7 +51,7 @@ "commit": "6fb0479" }, "nvim-cmp": { - "commit": "3192a0c" + "commit": "dbc7229" }, "nvim-dap": { "commit": "10b5781" -- cgit v1.2.3