Neovim-from-scratch
Neovim-from-scratch copied to clipboard
Fix of a breaking change in the last version of vim-cmp
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:
- open a .lua file
- print
fn
somewhere - 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
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
Fixed in #231. Thanks for your efforts.