diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-10-09 18:11:09 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2026-10-09 18:11:09 +0200 |
| commit | 0e17a1a0e25348d36cc00157c7c4f84b7bb98feb (patch) | |
| tree | 131569d57be10b8ed77a2dbd633c67fec29aad25 /runtime/lua/vim/_ftplugin/lua.lua | |
| parent | d212676f90154de389d1b772b7adce8a15cff54d (diff) | |
| download | rneovim-0e17a1a0e25348d36cc00157c7c4f84b7bb98feb.tar.gz rneovim-0e17a1a0e25348d36cc00157c7c4f84b7bb98feb.tar.bz2 rneovim-0e17a1a0e25348d36cc00157c7c4f84b7bb98feb.zip | |
fix(windows): server dies with terminal after :restart
Problem:
On Windows, a server started by :restart attaches to the TUI's console.
Closing the host-terminal kills the server, even after :detach or
:detach!: the swap to a hidden console only happens when a stdio UI
disconnects, but after :restart the TUI is on a socket.
Solution:
Track whether the console is inherited from the parent. When the last UI
disconnects and the server keeps running, swap an inherited console for
a hidden one.
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions