From 319ad8e1681724fd026f9d26f14d249ca2110e1b Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 20 Apr 2022 14:13:52 +0200 Subject: vim: fix deprecated config for cmp --- .vim/lua/plugins.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua index 17bd107..c246121 100644 --- a/.vim/lua/plugins.lua +++ b/.vim/lua/plugins.lua @@ -414,9 +414,11 @@ return require('packer').startup({function() -- autocomplete = { cmp.TriggerEvent.TextChanged } }, preselect = cmp.PreselectMode.Item, - documentation = { - -- border = 'single', - border = { '', '', '', ' ', '', '', '', ' ' }, + window = { + documentation = { + -- border = 'single', + border = { '', '', '', ' ', '', '', '', ' ' }, + }, }, mapping = { [''] = cmp.mapping(function(fallback) -- cgit 1.4.1