From 8da5c06870cad7849409a3ea2eeba1752438b5db Mon Sep 17 00:00:00 2001 From: Rafael Zasas Date: Tue, 12 Mar 2024 18:37:54 +0200 Subject: [PATCH] Fix comments for cmp window scroll --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 3c957795..46bbb2b6 100644 --- a/init.lua +++ b/init.lua @@ -679,8 +679,9 @@ require('lazy').setup({ -- Select the [p]revious item [''] = cmp.mapping.select_prev_item(), - -- scroll [u]p and [d]own the documentation window + -- scroll documentation window up [''] = cmp.mapping.scroll_docs(-4), + -- scroll documentation window down [''] = cmp.mapping.scroll_docs(4), -- Accept ([y]es) the completion.