diff --git a/init.lua b/init.lua index c570c4c2..840a9f3c 100644 --- a/init.lua +++ b/init.lua @@ -679,6 +679,10 @@ require('lazy').setup({ -- Select the [p]revious item [''] = cmp.mapping.select_prev_item(), + -- scroll [u]p and [d]own the documentation window + [""] = cmp.mapping.scroll_docs(-4), + [""] = cmp.mapping.scroll_docs(4), + -- Accept ([y]es) the completion. -- This will auto-import if your LSP supports it. -- This will expand snippets if the LSP sent a snippet.