Don't prompt to kill lsp server on cleanup
This commit is contained in:
parent
fdbf68cf3c
commit
c80d546e55
1 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,8 @@ server getting expensively restarted when reverting buffers."
|
|||
nil (lambda (workspace)
|
||||
(let ((lsp--cur-workspace workspace))
|
||||
(unless (lsp--workspace-buffers lsp--cur-workspace)
|
||||
(funcall orig-fn)
|
||||
(let ((lsp-restart 'ignore))
|
||||
(funcall orig-fn))
|
||||
(+lsp-optimization-mode -1))))
|
||||
lsp--cur-workspace)))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue