Closed pidgeon777 closed 3 months ago
Maybe it could be related to this:?
Can this be reproduced without LazyVim?
I don't want to spend time debugging someone else's code.
I also find that neovim sometimes freezes when gitsigns is enabled and you try to quit via :q
or :qa
. But it consistently does so when switching sessions via something like rmagatti/auto-session (can be any session plugin, I've tried multiple) from one repo to another and then trying to quit.
I'm on the same version of neovim and windows.
@pidgeon777 Do you experience the same? Curious if it's related or perhaps just a separate issue. I did try a minimal config with just gitsigns & autosession installed and the same thing happens.
Sounds the same as #1027
Is this fixed with #1031?
This:
https://github.com/lewis6991/gitsigns.nvim/pull/1031
and maybe also this?:
https://github.com/lewis6991/gitsigns.nvim/commit/e31d2149d9f3fb056bfd5b3416b2e818be10aabe
seems to have solved the issue.
I also find that neovim sometimes freezes when gitsigns is enabled and you try to quit via
:q
or:qa
. But it consistently does so when switching sessions via something like rmagatti/auto-session (can be any session plugin, I've tried multiple) from one repo to another and then trying to quit.I'm on the same version of neovim and windows.
@pidgeon777 Do you experience the same? Curious if it's related or perhaps just a separate issue. I did try a minimal config with just gitsigns & autosession installed and the same thing happens.
I had the same issue, now seems to be solved. Are you still experiencing this?
This:
1031
and maybe also this?:
seems to have solved the issue.
I also find that neovim sometimes freezes when gitsigns is enabled and you try to quit via
:q
or:qa
. But it consistently does so when switching sessions via something like rmagatti/auto-session (can be any session plugin, I've tried multiple) from one repo to another and then trying to quit. I'm on the same version of neovim and windows. @pidgeon777 Do you experience the same? Curious if it's related or perhaps just a separate issue. I did try a minimal config with just gitsigns & autosession installed and the same thing happens.I had the same issue, now seems to be solved. Are you still experiencing this?
Nope. It's fixed now for me since #1031.
Perfect. Thank you for the great fix @lewis6991! 👏
Description
Occasionally, while scrolling or switching between buffers, Neovim unexpectedly becomes unresponsive. When this happens, I am forced to manually terminate the
nvim.exe
process.This behavior started manifesting approximately two weeks ago.
Neovim version
NVIM v0.10.0
Operating system and version
Windows 11 Version 23H2
Expected behavior
No freezes should occur.
Actual behavior
Neovim freezes when randomly scrolling and switching buffers.
Minimal config
I can't reproduce it with this basic config:
Instead, I'm able to reproduce it using the plugin directly in
LazyVim
.But, if I disable
gitsigns.nvim
inLazyVim
using this plugin spec:then everything works fine, with no freezes.
Steps to reproduce
LazyVim
distribution.Gitsigns debug messages
Can't get it, given that Neovim freezes.