emacs-diffs
[Top][All Lists]
Advanced

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

feature/eglot2emacs 27ba1994fe 038/120: ; fix thinko in last commit


From: João Távora
Subject: feature/eglot2emacs 27ba1994fe 038/120: ; fix thinko in last commit
Date: Thu, 20 Oct 2022 07:16:48 -0400 (EDT)

branch: feature/eglot2emacs
commit 27ba1994fe50ebdcd927bb46fccc9db0d67e9408
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    ; fix thinko in last commit
---
 lisp/progmodes/eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index fb2f1ba100..219bcc85bd 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -142,7 +142,7 @@ chosen (interactively or automatically)."
                       when probe return (cons probe args)
                       finally (funcall err)))))))
 
-(defvar eglot-server-programs `((rust-mode . ("rust-analyzer" "rls"))
+(defvar eglot-server-programs `((rust-mode . ,(eglot-alternatives 
'("rust-analyzer" "rls")))
                                 (cmake-mode . ("cmake-language-server"))
                                 (vimrc-mode . ("vim-language-server" 
"--stdio"))
                                 (python-mode



reply via email to

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