From 7215dbbf7d3a87c48e3f4b4af024a415163e38e4 Mon Sep 17 00:00:00 2001 From: digitalfrost Date: Tue, 2 Aug 2022 15:37:32 +0200 Subject: [PATCH] Fix documentation is deprecated error Fixes: [nvim-cmp] documentation is deprecated. [nvim-cmp] Please use window.documentation = cmp.config.window.bordered() instead. --- lua/user/cmp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/user/cmp.lua b/lua/user/cmp.lua index c5e2d3e..64f6dbc 100644 --- a/lua/user/cmp.lua +++ b/lua/user/cmp.lua @@ -117,7 +117,7 @@ cmp.setup { behavior = cmp.ConfirmBehavior.Replace, select = false, }, - documentation = { + window = { border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" }, }, experimental = {