nvimdev / lspsaga.nvim

improve neovim lsp experience
MIT License
3.41k stars 287 forks source link

outline and winbar symbol error #643

Closed JuanZoran closed 1 year ago

JuanZoran commented 1 year ago

Describe the bug

Error in packer_compiled: ...k/packer/start/lspsaga.nvim/lua/lspsaga/symbolwinbar.lua:2: attempt to index field 'config' (a nil value)


thanks for your reply

### Steps to reproduce

- add `        lualine_c = {
            {
                -- require('lspsaga.symbolwinbar'):get_winbar(),
                -- on_click = handler,
            },
        },
` into lualine config
- use `lspsaga outline` in some lua file 

### Expected behavior

just like the screenshot in the readme

### Neovim version (nvim -v)

NVIM v0.9.0-dev-635+gc19bd47c0

### Operating system/version

Ubuntu 22.04

### Terminal name/version

kitty release

### $TERM environment variable

xterm-256color
glepnir commented 1 year ago

update your neovim version stc merged recently