hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
7.47k stars 370 forks source link

[Help] how to scroll up in second popup menue #1771

Closed Pger-Y closed 7 months ago

Pger-Y commented 7 months ago

Sorry to bother,I'm new to neovim and don't know how to scroll down or up in file preview menue or golang doc menue tried the ctr-d and ctr-j but no response neovim 0.9.4 and nvim-cmp commit is 11102d3 image image

wookayin commented 7 months ago

README:

     ['<C-b>'] = cmp.mapping.scroll_docs(-4),
     ['<C-f>'] = cmp.mapping.scroll_docs(4),

isn't this what you're looking for? what does your config look like?

wookayin commented 7 months ago

Also questions should go to https://github.com/hrsh7th/nvim-cmp/discussions.

Pger-Y commented 7 months ago

README:

     ['<C-b>'] = cmp.mapping.scroll_docs(-4),
     ['<C-f>'] = cmp.mapping.scroll_docs(4),

isn't this what you're looking for? what does your config look like? I have set it into my lunarvim config,but still not working:(

Also questions should go to https://github.com/hrsh7th/nvim-cmp/discussions. thanks for your time,I move the question to i will move the question in discussion, and for anyone who meet the same error please come here: https://github.com/hrsh7th/nvim-cmp/discussions/1772#discussion-5943832

Pger-Y commented 7 months ago

move to discussions