From acfd070c37e9f6bbaedf37b781f1c2313966c653 Mon Sep 17 00:00:00 2001 From: lytixdev Date: Tue, 5 Jul 2022 15:30:20 +0200 Subject: [PATCH] fix 05: documentation is deprecated, use window.documentation --- lua/user/cmp.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lua/user/cmp.lua b/lua/user/cmp.lua index c5e2d3e..626dfb1 100644 --- a/lua/user/cmp.lua +++ b/lua/user/cmp.lua @@ -117,9 +117,11 @@ cmp.setup { behavior = cmp.ConfirmBehavior.Replace, select = false, }, - documentation = { - border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" }, - }, + window = { + documentation = { + order = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" }, + }, + } experimental = { ghost_text = false, native_menu = false,