aboutsummaryrefslogtreecommitdiff
path: root/scripts/lintcommit.lua
diff options
context:
space:
mode:
authorSathya Pramodh <94102031+sathya-pramodh@users.noreply.github.com>2026-03-29 00:55:09 +0530
committerGitHub <noreply@github.com>2026-03-28 15:25:09 -0400
commitd5516daf121aa718e79bcd423ee24c24492893c0 (patch)
treee9d1353c4c93c2036017fba522dab3b3186f671b /scripts/lintcommit.lua
parent64d55b74d83d566975e269bed0810d9008119ddf (diff)
downloadrneovim-d5516daf121aa718e79bcd423ee24c24492893c0.tar.gz
rneovim-d5516daf121aa718e79bcd423ee24c24492893c0.tar.bz2
rneovim-d5516daf121aa718e79bcd423ee24c24492893c0.zip
fix(:restart): formalize restart event #35223
Problem: The "restart" event has some problems: - all UI clients must implement a somewhat complex set of setups - UI must be on the same machine as the server - only works for the "current" UI - race/edge case: If the user config has errors / waiting for input, are all UIs able to attach while Nvim is waiting for input? Solution: - Perform the restart on the server, not the client. - Pass listen address (instead of CLI args) in the UI event. - Simplifies UI logic: they only need to attach to new address. - Opens the door for more enhancements in the future, such as allowing all UIs to reattach instead of only the "current" UI. Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'scripts/lintcommit.lua')
0 files changed, 0 insertions, 0 deletions