Files
lazygit.nvim/lua/lazygit.lua
HyBer 8797c0df3f fix(window): set correct window size for lazygit to render (#158)
since `open_floating_window` use async way `vim.defer_fn` to create
window, `lazygit` executed with a sync way of `vim.fn.jobstart` in
`exec_lazygit_command`, it can't get the floating window size at the
banging

before:


https://github.com/user-attachments/assets/771b4099-c398-42b4-a80f-367f2d1305e7



after:


https://github.com/user-attachments/assets/12cb7381-625c-49c3-bf61-0e385ce79c76
2025-07-22 07:16:27 -04:00

6.9 KiB