nvimdev / lspsaga.nvim

improve neovim lsp experience

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`:Git blame` output is misaligned when LSPSaga Breadcrumbs are enabled

amcooper opened this issue · comments

Is your feature request related to a problem? Please describe.
I'm using both the vim-fugitive and LSPSaga plugins for Neovim. The Breadcrumbs module of the latter does not play nicely with the :Git blame command of the former. Basically vim-fugitive is unaware of the extra line slipped in by LSPSaga Breadcrumbs, and the blame line is rendered misaligned from its associated line of code.

Describe the solution you'd like
The vim-fugitive blame output should line up with the code.

Describe alternatives you've considered

  • Patch to move the LSPSaga breadcrumbs to the bottom of the window.
  • Patch vim-fugitive to insert a blank line at the top of the blame output.

Additional context
Screenshot:
misaligned-blame

I'm posting the same issue at vim-fugitive, as I don't know what the best place to tackle this would be.

emm bradcrumb just set int a buffer which attached lsp server