emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot 7467c15 11/16: Close #36: Inhibit auto-reconnect


From: João Távora
Subject: [elpa] externals/eglot 7467c15 11/16: Close #36: Inhibit auto-reconnect until connection is established
Date: Mon, 9 Jul 2018 17:27:14 -0400 (EDT)

branch: externals/eglot
commit 7467c1522da2e00e11762fb0b999ea7de085cea0
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Close #36: Inhibit auto-reconnect until connection is established
    
    Otherwise, a server that crashes on startup is enough to throw Eglot
    into a reconnection infloop.
    
    * eglot.el (eglot-lsp-server): Initialize "inhibit-autoreconnect"
    slot to t.
---
 eglot.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eglot.el b/eglot.el
index 50733f7..8cad3ad 100644
--- a/eglot.el
+++ b/eglot.el
@@ -206,6 +206,7 @@ lasted more than that many seconds."
     :documentation "List (ID DOING-WHAT DONE-P) representing server progress."
     :initform `(nil nil t) :accessor eglot--spinner)
    (inhibit-autoreconnect
+    :initform t
     :documentation "Generalized boolean inhibiting auto-reconnection if true."
     :accessor eglot--inhibit-autoreconnect)
    (file-watches



reply via email to

[Prev in Thread] Current Thread [Next in Thread]