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

goto_definition and back closes buffer #1318

Closed
alextrastero opened this issue Oct 10, 2023 · 0 comments
Closed

goto_definition and back closes buffer #1318

alextrastero opened this issue Oct 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@alextrastero
Copy link

Describe the bug

I am not sure why this happens and I cannot reproduce every time but when I go to definition with cursor on symbol it opens the file in a new buffer. Then when I do :bprev it goes back and closes the previous buffer.

Is there some config that makes this happen?

Steps to reproduce

  1. goto_definition on function
  2. buffer opens with definition highlighted
  3. :bprev to go back
  4. buffer with definition is gone

Expected behavior

Ideally I would like the buffer to keep open. By the way I have opt.hidden = true in case someone asks

Neovim version (nvim -v)

NVIM v0.10.0-dev-3387dc4

lspsaga commit

latest

Terminal name/version

kitty

@alextrastero alextrastero added the bug Something isn't working label Oct 10, 2023
Dosx001 pushed a commit to Dosx001/lspsaga.nvim that referenced this issue Nov 18, 2023
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

1 participant