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

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

[elpa] externals/eglot ba1a6c9b39 10/33: Per #703: transpose order of "p


From: Stefan Kangas
Subject: [elpa] externals/eglot ba1a6c9b39 10/33: Per #703: transpose order of "pylsp" and "pyls" alternatives
Date: Sat, 8 Jan 2022 12:30:49 -0500 (EST)

branch: externals/eglot
commit ba1a6c9b39a97b25873c9e1a382a96674d449805
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Per #703: transpose order of "pylsp" and "pyls" alternatives
    
    When operating remotely, searching for an executable that don't exist
    takes longer than usual.  Better to put the most likely server first
    in the list to minimize the slowdown.
    
    * eglot.el (eglot-server-programs): Transpose python mode alternatives
---
 eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 927009a8a9..83bd1024a0 100644
--- a/eglot.el
+++ b/eglot.el
@@ -138,7 +138,7 @@ chosen (interactively or automatically)."
 
 (defvar eglot-server-programs `((rust-mode . (eglot-rls "rls"))
                                 (python-mode
-                                 . ,(eglot-alternatives '("pyls" "pylsp")))
+                                 . ,(eglot-alternatives '("pylsp" "pyls")))
                                 ((js-mode typescript-mode)
                                  . ("typescript-language-server" "--stdio"))
                                 (sh-mode . ("bash-language-server" "start"))



reply via email to

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