nvimdev / lspsaga.nvim

improve neovim lsp experience
MIT License
3.47k stars 288 forks source link

outline with positon left shows no preview window #1471

Open Kaiser-Yang opened 3 months ago

Kaiser-Yang commented 3 months ago

Describe the bug

When I set the win_position to left, I can not see the preview window: image

Enven when I close the nvim-tree, I cannot see the preview window either: image

Besides, I wonder how to set the windows at the left of the nvim-tree or aside left with current buffer.

Steps to reproduce

lspsaga config:

require('lspsaga').setup({

    outline = {
        win_position = 'left',
        keys = {
            jump = '<cr>',
            toggle_or_jump = 'o',
            quit = { 'q' }
        }
    },
    code_action = {
        keys = {
            quit = { 'q', '<esc>', '<c-n>' },
            exec = '<cr>'
        }
    },
    diagnostic = {
        keys = {
            quit = { 'q', '<esc>', '<c-n>' },
            quit_in_show = { 'q', '<esc>', '<c-n>' },
        }
    },
    hover = {
        open_cmd = '!wslview'
    },
    rename = {
        keys = {
            quit = { '<esc>', '<c-n>' }
        }
    }
})

Expected behavior

The outline window is attached to current buffer at lfet.

Neovim version (nvim -v)

0.10.0

lspsaga commit

6f920cfabddb9b7de5a3a4d0b7cd4f0774ae23e2

Terminal name/version

wt