nvimdev / lspsaga.nvim

improve neovim lsp experience

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Buffer opened with incorrect layout right after peeking the source code

cangermueller opened this issue · comments

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