-
Notifications
You must be signed in to change notification settings - Fork 365
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
bug: wrong window offset when opening diff #361
Comments
That's actually intentional, so you normally still see the buttons of Lazy. I need to jump to the top before opening the diff though. Will fix |
Apart from this issue, I have some thoughts about the buttons and the idea of panes. What do you think about it? Would like to hear your thought :) |
true, but then we'd need to have two rows or something like that, which is also not ideal... |
reminder ping @folke, the bug is still present with border (the bottom line) |
Did you check docs and existing issues?
Neovim version (nvim -v)
0.8.2 Release
Operating system/version
wsl / macos
Describe the bug
After opening diff by pressing
K
on a commit, the top and bottom row of the diff buffer is showing messages from the previous layout.Feel like it's a wrong offset when creating float command (both with border and without border).
without border
with border
Steps To Reproduce
:Lazy
L
to navigate to log panel7260a2b
K
Expected Behavior
I think the top row is reserved for the title of lazy when the diff buffer is open on a certain line? However I found it distracting when reading diff.
I've tried to modify the margin
lazy.nvim/lua/lazy/util.lua
Line 15 in d211027
Thank's for the great plugin nevertheless!
Repro
The text was updated successfully, but these errors were encountered: