mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-17 13:33:36 -05:00
Don't prompt to kill lsp server on cleanup
This commit is contained in:
@@ -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)))))
|
||||
|
||||
|
Reference in New Issue
Block a user