ray-x / lsp_signature.nvim

LSP signature hint as you type
Apache License 2.0
2.02k stars 57 forks source link

'height' key must be a positive Integer #189

Closed vsedov closed 2 years ago

vsedov commented 2 years ago
Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/lsp/util.lua:1537: 'height' key must be a p
ositive Integer                                                                                                       
stack traceback:                                                                                                      
        [C]: in function 'nvim_open_win'                                                                              
        /usr/share/nvim/runtime/lua/vim/lsp/util.lua:1537: in function 'open_floating_preview'                        
        ...packer/opt/lsp_signature.nvim/lua/lsp_signature/init.lua:458: in function 'handler'                        
        /usr/share/nvim/runtime/lua/vim/lsp.lua:1173: in function ''                                                  
        vim/_editor.lua: in function <vim/_editor.lua:0>```

Got this erorr when trying to complete something on second line of any file with lsp

quick replication of error if you wish :

open python file nvim test.py

write print() - should work normally on line one write print() - again and it should proceed to give an error shown above.

bryant-the-coder commented 2 years ago

i am having the same issue too

ray-x commented 2 years ago

Failed to reproduce

image
ray-x commented 2 years ago

I push a check for this, not sure if it will works for you

vsedov commented 2 years ago

I push a check for this, not sure if it will works for you

Cheers, il check it out now :)

vsedov commented 2 years ago

Update : Seems like it has fixed the issue, thanks for the quick fix :)