Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[outline] there already have a request for outline please wait #648

Closed
max107 opened this issue Jan 13, 2023 · 9 comments
Closed

[outline] there already have a request for outline please wait #648

max107 opened this issue Jan 13, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@max107
Copy link

max107 commented Jan 13, 2023

Describe the bug

Error executing Lua callback: ...e/pack/packer/start/lspsaga.nvim/lua/lspsaga/outline.lua:449: Invalid buffer id: 11
stack traceback:
        [C]: in function 'nvim_buf_set_lines'
        ...e/pack/packer/start/lspsaga.nvim/lua/lspsaga/outline.lua:449: in function 'render_outline'
        ...e/pack/packer/start/lspsaga.nvim/lua/lspsaga/outline.lua:511: in function 'outline'
        ...e/pack/packer/start/lspsaga.nvim/lua/lspsaga/command.lua:38: in function <...e/pack/packer/start/lspsaga.nvim/lua/lspsa
ga/command.lua:37>
        ...e/pack/packer/start/lspsaga.nvim/lua/lspsaga/command.lua:60: in function 'load_command'
        ...m/site/pack/packer/start/lspsaga.nvim/plugin/lspsaga.lua:8: in function <...m/site/pack/packer/start/lspsaga.nvim/plugi
n/lspsaga.lua:7>

Jan-13-2023 21-15-07

Steps to reproduce

open nvim, run :Lspsaga outline, open another file. Boom.

Expected behavior

outline refreshed without error )

Neovim version (nvim -v)

NVIM v0.8.2

Operating system/version

macOS 13.1

Terminal name/version

alacritty 0.11.0 (8dbaa0b), iterm

$TERM environment variable

screen-256color, xterm-256color

@max107 max107 added the bug Something isn't working label Jan 13, 2023
@eXvimmer
Copy link

The last update is completely buggy. After running lspsaga hover_doc and seeing info, I cannot use ctrl-f and ctrl-b to scroll through buffers.

@glepnir
Copy link
Member

glepnir commented Jan 13, 2023

looks like it will appear when you jump into a tree window.

@max107
Copy link
Author

max107 commented Jan 13, 2023

looks like it will appear when you jump into a tree window.

Need just to open another file / buffer to reproduce this bug. With / without tree behavior is identical.

@max107
Copy link
Author

max107 commented Jan 13, 2023

If we close outline before open new file - no error. For reproduce outline should be opened.

@max107
Copy link
Author

max107 commented Jan 13, 2023

perfect 🙏

@glepnir
Copy link
Member

glepnir commented Jan 13, 2023

@eXvimmer open hover then press <C-f> <C-b> can't work ? in my test it works . if you still get this scroll bug please open a new issue.

diagnostic

@eXvimmer
Copy link

eXvimmer commented Jan 13, 2023

@glepnir Hi, sorry for late response.
The scrolling stops after running hover_doc.

Screencast.from.01-13-2023.10.23.43.PM.webm

@glepnir
Copy link
Member

glepnir commented Jan 13, 2023

@eXvimmer fixed

@eXvimmer
Copy link

@glepnir thanks, it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants