Closed Jackevansevo closed 1 month ago
Thanks for the issue!
I did not see this in the wild and could not reproduce with 'pyright'. I guess this might happen if LSP server returns empty result.
Would you mind checking if adjusting this line to have return math.max(height, 1), math.max(width, 1)
solves the issue?
Would you mind checking if adjusting this line to have
return math.max(height, 1), math.max(width, 1)
solves the issue?
Thanks for the fast response, this does indeed fix the issue.
This should now be fixed on main
branch.
Contributing guidelines
Module(s)
completion
Description
Have tested with both
v0.10.0
(brew install neovim
) and nightlybrew install --HEAD neovim
.Whenever I'm using LSP completion and hit
<C-n>
I sometimes get an errorNeovim version
v0.10.0
Steps to reproduce
Expected behavior
No response
Actual behavior
https://github.com/echasnovski/mini.nvim/assets/4996338/0b1d2162-60c9-479b-b46e-a35088bc92e6