-
Notifications
You must be signed in to change notification settings - Fork 152
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
Neovim freezing when opening buffers #58
Comments
I've seen something similar happen in a few cases too. A simple reproducible case is to do |
I'm not home right now, but will check later today. One thing that I can think of that would trigger this behavior is when you have something like the below in your config: autocmd FileType * :norm '" This is to jump to the last location when opening a buffer, but this will trigger WhichKey for the registers. If that's the case here, simply change it to |
That should work as expected. Will check when I'm home. |
@rmagatti Neovim does something weird when getchar() is being called from a
When doing that inside I couldn't find any documentation about this behavior. Really weird. Anyway, I was able to fix this by returning when we encounter the Also know that doing |
@atchim this might actually fix your problem too. There's probably an Can you try with the latest version to see if it still occurs? |
@nghialm269 sorry about that!! Forgot to remove my debug statements 🤦♂️ Fixed |
Now it's working fine. About the |
@atchim glad it works now. Thanks! |
Yeah thanks for the quick response and for the awesome plugin @folke ! Cheers |
After this commit, every time I open a new buffer via
:edit
command or via NERDTree, Neovim freezes. The freeze seems to be forever unless I press^C
, which gives the following error message:Using
:verbose edit
I get the following message after the^C
:The text was updated successfully, but these errors were encountered: