From 7fb0abce7acf762f9a9ad7fbac645a40bdceebc4 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Thu, 9 May 2024 20:37:36 -0700 Subject: [PATCH] Fix LSP remote files --- emacs/radian.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs/radian.el b/emacs/radian.el index 863c779..08a0d35 100644 --- a/emacs/radian.el +++ b/emacs/radian.el @@ -2488,6 +2488,10 @@ killed (which happens during Emacs shutdown)." ;; for that instead. (setq lsp-enable-on-type-formatting nil) + ;; Super super slow to have LSP on remote files because TRAMP is not + ;; async. + (setq lsp-auto-register-remote-clients nil) + ;; Multi-root LSP servers are broken by default, the docs suggest ;; adding this advice, although I am not sure why it is not just the ;; default behavior.