Fix lsp-restart-workspace not working

Because I forgot to forward the RESTART argument for lsp--shutdown-workspace.
This commit is contained in:
Henrik Lissner 2020-04-15 15:54:05 -04:00
parent b88822f641
commit 2b67d958e6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -160,7 +160,7 @@ auto-killed (which is a potentially expensive process)."
restart restart
(null +lsp-defer-shutdown) (null +lsp-defer-shutdown)
(= +lsp-defer-shutdown 0)) (= +lsp-defer-shutdown 0))
(funcall orig-fn) (funcall orig-fn restart)
(when (timerp +lsp--deferred-shutdown-timer) (when (timerp +lsp--deferred-shutdown-timer)
(cancel-timer +lsp--deferred-shutdown-timer)) (cancel-timer +lsp--deferred-shutdown-timer))
(setq +lsp--deferred-shutdown-timer (setq +lsp--deferred-shutdown-timer