When win_position of outline is set to 'left' instead of right the float for the previews fails to render, and causes an error.
if win_position is set to 'right' or if layout = 'float' the preview works as intended.
The Error
Error detected while processing CursorMoved Autocommands for "":
Error executing lua callback: ...ocal/share/nvim/lazy/lspsaga.nvim/lua/lspsaga/window.lua:154: 'width' key must be a positive Integer
stack traceback:
[C]: in function 'nvim_open_win'
...ocal/share/nvim/lazy/lspsaga.nvim/lua/lspsaga/window.lua:154: in function 'new_float'
...re/nvim/lazy/lspsaga.nvim/lua/lspsaga/symbol/outline.lua:365: in function 'create_preview_win'
...re/nvim/lazy/lspsaga.nvim/lua/lspsaga/symbol/outline.lua:437: in function <...re/nvim/lazy/lspsaga.nvim/lua/lspsaga/symbol/outline.lua:422>
Describe the bug
Issue
When win_position of outline is set to 'left' instead of right the float for the previews fails to render, and causes an error.
if win_position is set to 'right' or if layout = 'float' the preview works as intended.
The Error
Steps to reproduce
Minimal init.lua
Steps to reproduce
nvim --clean -u ./min.lua min.lua
Lspsaga outline
Expected behavior
The preview should be shown to the right of the outline, so the reverse of the layout that occurs when win_position = 'right'
Neovim version (nvim -v)
0.9.4
lspsaga commit
85f7c38
Terminal name/version
kitty 0.30.1