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

I'm not sure is it a bug or breaking change, but this config stopped work 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
pull/223/head
Anton Korniychuk 2 years ago committed by GitHub
parent 2683495c3d
commit 5c806f75b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -119,6 +119,9 @@ cmp.setup {
}, },
documentation = { documentation = {
border = { "", "", "", "", "", "", "", "" }, border = { "", "", "", "", "", "", "", "" },
max_width = 50,
max_height = 80,
}, },
experimental = { experimental = {
ghost_text = false, ghost_text = false,

Loading…
Cancel
Save