From 7f2cb0c69c3b3c78892bc772e776e34771bee9d6 Mon Sep 17 00:00:00 2001 From: S1M0N38 Date: Thu, 28 Jul 2022 12:24:32 +0200 Subject: [PATCH] Fix #158 [nvim-cmp] documentation is deprecated --- lua/user/cmp.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lua/user/cmp.lua b/lua/user/cmp.lua index c5e2d3e..03f0eba 100644 --- a/lua/user/cmp.lua +++ b/lua/user/cmp.lua @@ -117,8 +117,10 @@ cmp.setup { behavior = cmp.ConfirmBehavior.Replace, select = false, }, - documentation = { - border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" }, + window = { + documentation = { + border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" }, + }, }, experimental = { ghost_text = false,