Crash on Windows when using `:restart`
Author: LDT9510Created Aug 18, 2026Updated Aug 18, 2026
Labelsbug
Describe the bug
Neovide crashes when restarting the instance with :restart
To Reproduce Steps to reproduce the behavior:
- Open Neovide
- Run
:restartin Neovim
Expected behavior Not crashing
Screenshots N/A
Desktop (please complete the following information):
- OS: Microsoft Windows 11 25H2 (Build 26200.9168)
- Neovide (master ba8c41f423c9a8f0cb14ff19baa6f538c95e52bf), also happens on v0.16.2
- Neovim Version NVIM v0.13.0-dev-1824+gc5ea9ca2ad
The error happens in this block: https://github.com/neovide/neovide/blob/ba8c41f423c9a8f0cb14ff19baa6f538c95e52bf/src/bridge/session.rs#L197
Running through the debugger I see that the incoming address is: //./pipe/...., so when format! runs, it ends up as \\.\pipe\//./pipe/..., thus crashing. Changing the address check and formatting to that form fixes the issue. I'm just not sure if this is a Windows or a Neovim thing, nor what compatibility issues this fix may cause.
Source: neovide/neovide