]> git.eshelyaron.com Git - emacs.git/commit
Ignore errors when shutting down all LSP servers (bug#59146)
authorEvgeni Kolev <evgenysw@gmail.com>
Thu, 10 Nov 2022 17:17:44 +0000 (17:17 +0000)
committerJoão Távora <joaotavora@gmail.com>
Thu, 10 Nov 2022 17:18:13 +0000 (17:18 +0000)
commitc833b291f57e61613cbf09cffae478aa02e6ecc5
tree50bca5c68ff024a1902bca80ed3ca71684edbe54
parentdc4aef3b85f22e5d529c5ceb0686f26781587601
Ignore errors when shutting down all LSP servers (bug#59146)

eglot-shutdown-all has a bug that results in partially stopping
servers: when a server shutdown timeouts (1.5s), an error is
propagated and eglot-shutdown-all does not try to shutdown the rest of
the servers.

* eglot.el (eglot-shutdown-all): Ignore errors when shutting down
  servers, converting errors to messages.
lisp/progmodes/eglot.el