Neovim-from-scratch icon indicating copy to clipboard operation
Neovim-from-scratch copied to clipboard

Fix of a breaking change in the last version of vim-cmp

Open korniychuk opened this issue 1 year ago • 1 comments

I'm not sure whether it is a bug or a breaking change, but this config stopped working without specifying the max_width & max_height. How to reproduce the error:

  1. open a .lua file
  2. print fn somewhere
  3. pres <tab> twice

The line in the vim-cmp that breaks documentation popup: https://github.com/hrsh7th/nvim-cmp/blob/main/lua/cmp/view/docs_view.lua#L39

Screenshot 2022-09-09  14 07 12@2x

korniychuk avatar Sep 09 '22 06:09 korniychuk

Wow, I found that if I change documentation to window the error disappears. So, it would be better to merge next PR instead of my: https://github.com/LunarVim/Neovim-from-scratch/pull/204/files

korniychuk avatar Sep 09 '22 06:09 korniychuk

Fixed in #231. Thanks for your efforts.

gnmearacaun avatar Oct 11 '22 22:10 gnmearacaun