How should I troubleshoot an issue causing neovim to freeze when saving?

When saving zig project, neovim freezes. I don’t have a clue what is causing this. Is there any advice on how to deal with it? Thanks.

Not much information here. By “project” you mean a zig buffer/file? Neovim 0.10? Saving with :w? Windows or Linux? Have you tried with nvim -u NORC -- <zig_file>, to eliminate problems in your config/plugins?

I’m experiencing this too when I run :w on a zig file. Still reproducible with nvim -u NORC -- <zig_file>.

Perhaps caused by the Zig ftplugin file trying to autoformat files on save by default without telling you (yuck): Disable built-in formatting for zig · Issue #28878 · neovim/neovim · GitHub. Seems to have been patched on the nightly build, perhaps try that.