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
GitHub-reference: per https://github.com/joaotavora/eglot/issues/703
(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"))