mirror of
https://github.com/neovim/neovim.git
synced 2025-11-15 14:59:20 +00:00
fix(lsp): don't immediately force shutdown when using a timeout (#36455)
This commit is contained in:
@@ -888,7 +888,7 @@ function Client:stop(force)
|
||||
|
||||
lsp._watchfiles.cancel(self.id)
|
||||
|
||||
if force or not self.initialized or self._graceful_shutdown_failed then
|
||||
if force == true or not self.initialized or self._graceful_shutdown_failed then
|
||||
rpc.terminate()
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user