lewis6991 / satellite.nvim

Decorate scrollbar for Neovim
MIT License
542 stars 20 forks source link

key-menu.nvim compability #22

Closed EpsilonKu closed 1 year ago

EpsilonKu commented 2 years ago

Describe the bug I get error when use key-menu.nvim with this plugin.

To Reproduce Click hotkey which activate key-menu. After get error.

Expected behavior no error

Additional context messages:

Error detected while processing WinEnter Autocommands for "*":                                                                                                                                                  
Error executing lua callback: .../pack/packer/start/satellite.nvim/lua/satellite/view.lua:29: 'height' key must be a positive Integer                                                                           
stack traceback:                                                                                                                                                                                                
        [C]: in function 'nvim_open_win'                                                                                                                                                                        
        .../pack/packer/start/satellite.nvim/lua/satellite/view.lua:29: in function 'create_view'                                                                                                               
        .../pack/packer/start/satellite.nvim/lua/satellite/view.lua:224: in function 'show_scrollbar'                                                                                                           
        .../pack/packer/start/satellite.nvim/lua/satellite/view.lua:305: in function <.../pack/packer/start/satellite.nvim/lua/satellite/view.lua:300>                                                          
        [C]: in function 'nvim_open_win'                                                                                                                                                                        
        ...im/site/pack/packer/start/key-menu.nvim/lua/key-menu.lua:378: in function 'open_window'                                                                                                              
        ...im/site/pack/packer/start/key-menu.nvim/lua/key-menu.lua:634: in function <...im/site/pack/packer/start/key-menu.nvim/lua/key-menu.lua:634>