Skip to content

feat(lsp): support auto-force escalation in client stop#36378

Merged
MariaSolOs merged 1 commit intoneovim:masterfrom
MariaSolOs:force-stop
Nov 2, 2025
Merged

feat(lsp): support auto-force escalation in client stop#36378
MariaSolOs merged 1 commit intoneovim:masterfrom
MariaSolOs:force-stop

Conversation

@MariaSolOs
Copy link
Member

Part of #28479

@github-actions github-actions bot added the lsp label Oct 29, 2025
end
end
for _, client in pairs(active_clients) do
client:stop(client.flags.exit_timeout)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be missing something but this should preserve the current behavior: exit_timeout is false by default, and then we don't need to have the custom timeout tracking here as if exit_timeout is a number then auto-escalation will happen.

@MariaSolOs MariaSolOs merged commit 02cd564 into neovim:master Nov 2, 2025
35 checks passed
@MariaSolOs MariaSolOs deleted the force-stop branch November 2, 2025 02:12
MariaSolOs added a commit to MariaSolOs/neovim that referenced this pull request Nov 2, 2025
@neovim neovim deleted a comment from neovim-backports bot Nov 2, 2025
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Dec 2, 2025
This fixes most of the delays caused by neovim#36750.
The delays caused by neovim#36378 still seem to remain.
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Dec 2, 2025
This fixes most of the delays caused by neovim#36750.
The delays caused by neovim#36378 still seem to remain.
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Dec 2, 2025
Also, don't start the timer at all when a previous shutdown failed, as
in this case a forced shutdown is used and no timer is needed.

This fixes most of the delays caused by neovim#36750.
The delays caused by neovim#36378 still seem to remain.
zeertzjq added a commit that referenced this pull request Dec 2, 2025
Also, don't start the timer at all when a previous shutdown failed, as
in this case a forced shutdown is used and no timer is needed.

This fixes most of the delays caused by #36750.
The delays caused by #36378 still seem to remain.
yochem pushed a commit to yochem/neovim that referenced this pull request Dec 15, 2025
Also, don't start the timer at all when a previous shutdown failed, as
in this case a forced shutdown is used and no timer is needed.

This fixes most of the delays caused by neovim#36750.
The delays caused by neovim#36378 still seem to remain.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants