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

Buffer opened with incorrect layout right after peeking the source code #1426

Open
cangermueller opened this issue Apr 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cangermueller
Copy link

cangermueller commented Apr 21, 2024

Describe the bug

Hi,

When I jump to the definition (:Lspsaga goto_definition) of symbol right after peeking the source of that symbol, the buffer is opened with the layout of the peek window (black background; no line numbers) instead of the default layout (dark blue background, with line numbers.

Example:

  • [Peek definition of watch_and_process_build]: black background; no line number
peek
  • Buffer opened right after peeking (actual behavior): black background; no line number (see right side in image)
actual
  • Buffer opened without peeking (expected behavior): dark blue background, with line numbers
expected

I am using nvim-10.0 (also tried 0.95) with the latest version of Lspsaga.

Any idea why this happened and how this could be fixed?

Thanks!
Christof

Steps to reproduce

See example above

Expected behavior

See example above

Neovim version (nvim -v)

0.10

lspsaga commit

f209854

Terminal name/version

ITerm 3.4

@cangermueller cangermueller added the bug Something isn't working label Apr 21, 2024
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